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) ConfigureSubscribeJob(request *ConfigureSubscribeJobRequest) (response *ConfigureSubscribeJobResponse, err error)
- func (c *Client) ConfigureSubscribeJobWithContext(ctx context.Context, request *ConfigureSubscribeJobRequest) (response *ConfigureSubscribeJobResponse, err error)
- func (c *Client) ConfigureSyncJob(request *ConfigureSyncJobRequest) (response *ConfigureSyncJobResponse, err error)
- func (c *Client) ConfigureSyncJobWithContext(ctx context.Context, request *ConfigureSyncJobRequest) (response *ConfigureSyncJobResponse, err error)
- func (c *Client) ContinueMigrateJob(request *ContinueMigrateJobRequest) (response *ContinueMigrateJobResponse, err error)
- func (c *Client) ContinueMigrateJobWithContext(ctx context.Context, request *ContinueMigrateJobRequest) (response *ContinueMigrateJobResponse, err error)
- func (c *Client) ContinueSyncJob(request *ContinueSyncJobRequest) (response *ContinueSyncJobResponse, err error)
- func (c *Client) ContinueSyncJobWithContext(ctx context.Context, request *ContinueSyncJobRequest) (response *ContinueSyncJobResponse, err error)
- func (c *Client) CreateCheckSyncJob(request *CreateCheckSyncJobRequest) (response *CreateCheckSyncJobResponse, err error)
- func (c *Client) CreateCheckSyncJobWithContext(ctx context.Context, request *CreateCheckSyncJobRequest) (response *CreateCheckSyncJobResponse, err error)
- func (c *Client) CreateCompareTask(request *CreateCompareTaskRequest) (response *CreateCompareTaskResponse, err error)
- func (c *Client) CreateCompareTaskWithContext(ctx context.Context, request *CreateCompareTaskRequest) (response *CreateCompareTaskResponse, err error)
- func (c *Client) CreateConsumerGroup(request *CreateConsumerGroupRequest) (response *CreateConsumerGroupResponse, err error)
- func (c *Client) CreateConsumerGroupWithContext(ctx context.Context, request *CreateConsumerGroupRequest) (response *CreateConsumerGroupResponse, err error)
- func (c *Client) CreateMigrateCheckJob(request *CreateMigrateCheckJobRequest) (response *CreateMigrateCheckJobResponse, err error)
- func (c *Client) CreateMigrateCheckJobWithContext(ctx context.Context, request *CreateMigrateCheckJobRequest) (response *CreateMigrateCheckJobResponse, err error)
- func (c *Client) CreateMigrationService(request *CreateMigrationServiceRequest) (response *CreateMigrationServiceResponse, err error)
- func (c *Client) CreateMigrationServiceWithContext(ctx context.Context, request *CreateMigrationServiceRequest) (response *CreateMigrationServiceResponse, err error)
- func (c *Client) CreateModifyCheckSyncJob(request *CreateModifyCheckSyncJobRequest) (response *CreateModifyCheckSyncJobResponse, err error)
- func (c *Client) CreateModifyCheckSyncJobWithContext(ctx context.Context, request *CreateModifyCheckSyncJobRequest) (response *CreateModifyCheckSyncJobResponse, err error)
- func (c *Client) CreateSubscribe(request *CreateSubscribeRequest) (response *CreateSubscribeResponse, err error)
- func (c *Client) CreateSubscribeCheckJob(request *CreateSubscribeCheckJobRequest) (response *CreateSubscribeCheckJobResponse, err error)
- func (c *Client) CreateSubscribeCheckJobWithContext(ctx context.Context, request *CreateSubscribeCheckJobRequest) (response *CreateSubscribeCheckJobResponse, err error)
- func (c *Client) CreateSubscribeWithContext(ctx context.Context, request *CreateSubscribeRequest) (response *CreateSubscribeResponse, 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) DeleteConsumerGroup(request *DeleteConsumerGroupRequest) (response *DeleteConsumerGroupResponse, err error)
- func (c *Client) DeleteConsumerGroupWithContext(ctx context.Context, request *DeleteConsumerGroupRequest) (response *DeleteConsumerGroupResponse, 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) DescribeConsumerGroups(request *DescribeConsumerGroupsRequest) (response *DescribeConsumerGroupsResponse, err error)
- func (c *Client) DescribeConsumerGroupsWithContext(ctx context.Context, request *DescribeConsumerGroupsRequest) (response *DescribeConsumerGroupsResponse, err error)
- func (c *Client) DescribeMigrateDBInstances(request *DescribeMigrateDBInstancesRequest) (response *DescribeMigrateDBInstancesResponse, err error)
- func (c *Client) DescribeMigrateDBInstancesWithContext(ctx context.Context, request *DescribeMigrateDBInstancesRequest) (response *DescribeMigrateDBInstancesResponse, err error)
- func (c *Client) DescribeMigrationCheckJob(request *DescribeMigrationCheckJobRequest) (response *DescribeMigrationCheckJobResponse, err error)
- func (c *Client) DescribeMigrationCheckJobWithContext(ctx context.Context, request *DescribeMigrationCheckJobRequest) (response *DescribeMigrationCheckJobResponse, err error)
- func (c *Client) DescribeMigrationDetail(request *DescribeMigrationDetailRequest) (response *DescribeMigrationDetailResponse, err error)
- func (c *Client) DescribeMigrationDetailWithContext(ctx context.Context, request *DescribeMigrationDetailRequest) (response *DescribeMigrationDetailResponse, err error)
- func (c *Client) DescribeMigrationJobs(request *DescribeMigrationJobsRequest) (response *DescribeMigrationJobsResponse, err error)
- func (c *Client) DescribeMigrationJobsWithContext(ctx context.Context, request *DescribeMigrationJobsRequest) (response *DescribeMigrationJobsResponse, err error)
- func (c *Client) DescribeModifyCheckSyncJobResult(request *DescribeModifyCheckSyncJobResultRequest) (response *DescribeModifyCheckSyncJobResultResponse, err error)
- func (c *Client) DescribeModifyCheckSyncJobResultWithContext(ctx context.Context, request *DescribeModifyCheckSyncJobResultRequest) (response *DescribeModifyCheckSyncJobResultResponse, err error)
- func (c *Client) DescribeOffsetByTime(request *DescribeOffsetByTimeRequest) (response *DescribeOffsetByTimeResponse, err error)
- func (c *Client) DescribeOffsetByTimeWithContext(ctx context.Context, request *DescribeOffsetByTimeRequest) (response *DescribeOffsetByTimeResponse, err error)
- func (c *Client) DescribeSubscribeCheckJob(request *DescribeSubscribeCheckJobRequest) (response *DescribeSubscribeCheckJobResponse, err error)
- func (c *Client) DescribeSubscribeCheckJobWithContext(ctx context.Context, request *DescribeSubscribeCheckJobRequest) (response *DescribeSubscribeCheckJobResponse, err error)
- func (c *Client) DescribeSubscribeDetail(request *DescribeSubscribeDetailRequest) (response *DescribeSubscribeDetailResponse, err error)
- func (c *Client) DescribeSubscribeDetailWithContext(ctx context.Context, request *DescribeSubscribeDetailRequest) (response *DescribeSubscribeDetailResponse, err error)
- func (c *Client) DescribeSubscribeJobs(request *DescribeSubscribeJobsRequest) (response *DescribeSubscribeJobsResponse, err error)
- func (c *Client) DescribeSubscribeJobsWithContext(ctx context.Context, request *DescribeSubscribeJobsRequest) (response *DescribeSubscribeJobsResponse, err error)
- func (c *Client) DescribeSubscribeReturnable(request *DescribeSubscribeReturnableRequest) (response *DescribeSubscribeReturnableResponse, err error)
- func (c *Client) DescribeSubscribeReturnableWithContext(ctx context.Context, request *DescribeSubscribeReturnableRequest) (response *DescribeSubscribeReturnableResponse, 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) DestroyIsolatedSubscribe(request *DestroyIsolatedSubscribeRequest) (response *DestroyIsolatedSubscribeResponse, err error)
- func (c *Client) DestroyIsolatedSubscribeWithContext(ctx context.Context, request *DestroyIsolatedSubscribeRequest) (response *DestroyIsolatedSubscribeResponse, 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) IsolateSubscribe(request *IsolateSubscribeRequest) (response *IsolateSubscribeResponse, err error)
- func (c *Client) IsolateSubscribeWithContext(ctx context.Context, request *IsolateSubscribeRequest) (response *IsolateSubscribeResponse, 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) ModifyConsumerGroupDescription(request *ModifyConsumerGroupDescriptionRequest) (response *ModifyConsumerGroupDescriptionResponse, err error)
- func (c *Client) ModifyConsumerGroupDescriptionWithContext(ctx context.Context, request *ModifyConsumerGroupDescriptionRequest) (response *ModifyConsumerGroupDescriptionResponse, err error)
- func (c *Client) ModifyConsumerGroupPassword(request *ModifyConsumerGroupPasswordRequest) (response *ModifyConsumerGroupPasswordResponse, err error)
- func (c *Client) ModifyConsumerGroupPasswordWithContext(ctx context.Context, request *ModifyConsumerGroupPasswordRequest) (response *ModifyConsumerGroupPasswordResponse, 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) ModifyMigrateRateLimit(request *ModifyMigrateRateLimitRequest) (response *ModifyMigrateRateLimitResponse, err error)
- func (c *Client) ModifyMigrateRateLimitWithContext(ctx context.Context, request *ModifyMigrateRateLimitRequest) (response *ModifyMigrateRateLimitResponse, err error)
- func (c *Client) ModifyMigrateRuntimeAttribute(request *ModifyMigrateRuntimeAttributeRequest) (response *ModifyMigrateRuntimeAttributeResponse, err error)
- func (c *Client) ModifyMigrateRuntimeAttributeWithContext(ctx context.Context, request *ModifyMigrateRuntimeAttributeRequest) (response *ModifyMigrateRuntimeAttributeResponse, 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) ModifySubscribeAutoRenewFlag(request *ModifySubscribeAutoRenewFlagRequest) (response *ModifySubscribeAutoRenewFlagResponse, err error)
- func (c *Client) ModifySubscribeAutoRenewFlagWithContext(ctx context.Context, request *ModifySubscribeAutoRenewFlagRequest) (response *ModifySubscribeAutoRenewFlagResponse, err error)
- func (c *Client) ModifySubscribeName(request *ModifySubscribeNameRequest) (response *ModifySubscribeNameResponse, err error)
- func (c *Client) ModifySubscribeNameWithContext(ctx context.Context, request *ModifySubscribeNameRequest) (response *ModifySubscribeNameResponse, err error)
- func (c *Client) ModifySubscribeObjects(request *ModifySubscribeObjectsRequest) (response *ModifySubscribeObjectsResponse, err error)
- func (c *Client) ModifySubscribeObjectsWithContext(ctx context.Context, request *ModifySubscribeObjectsRequest) (response *ModifySubscribeObjectsResponse, err error)
- func (c *Client) ModifySyncJobConfig(request *ModifySyncJobConfigRequest) (response *ModifySyncJobConfigResponse, err error)
- func (c *Client) ModifySyncJobConfigWithContext(ctx context.Context, request *ModifySyncJobConfigRequest) (response *ModifySyncJobConfigResponse, err error)
- func (c *Client) ModifySyncRateLimit(request *ModifySyncRateLimitRequest) (response *ModifySyncRateLimitResponse, err error)
- func (c *Client) ModifySyncRateLimitWithContext(ctx context.Context, request *ModifySyncRateLimitRequest) (response *ModifySyncRateLimitResponse, err error)
- func (c *Client) PauseMigrateJob(request *PauseMigrateJobRequest) (response *PauseMigrateJobResponse, err error)
- func (c *Client) PauseMigrateJobWithContext(ctx context.Context, request *PauseMigrateJobRequest) (response *PauseMigrateJobResponse, err error)
- func (c *Client) PauseSyncJob(request *PauseSyncJobRequest) (response *PauseSyncJobResponse, err error)
- func (c *Client) PauseSyncJobWithContext(ctx context.Context, request *PauseSyncJobRequest) (response *PauseSyncJobResponse, err error)
- func (c *Client) RecoverMigrateJob(request *RecoverMigrateJobRequest) (response *RecoverMigrateJobResponse, err error)
- func (c *Client) RecoverMigrateJobWithContext(ctx context.Context, request *RecoverMigrateJobRequest) (response *RecoverMigrateJobResponse, err error)
- func (c *Client) RecoverSyncJob(request *RecoverSyncJobRequest) (response *RecoverSyncJobResponse, err error)
- func (c *Client) RecoverSyncJobWithContext(ctx context.Context, request *RecoverSyncJobRequest) (response *RecoverSyncJobResponse, err error)
- func (c *Client) ResetConsumerGroupOffset(request *ResetConsumerGroupOffsetRequest) (response *ResetConsumerGroupOffsetResponse, err error)
- func (c *Client) ResetConsumerGroupOffsetWithContext(ctx context.Context, request *ResetConsumerGroupOffsetRequest) (response *ResetConsumerGroupOffsetResponse, err error)
- func (c *Client) ResetSubscribe(request *ResetSubscribeRequest) (response *ResetSubscribeResponse, err error)
- func (c *Client) ResetSubscribeWithContext(ctx context.Context, request *ResetSubscribeRequest) (response *ResetSubscribeResponse, 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) ResumeSubscribe(request *ResumeSubscribeRequest) (response *ResumeSubscribeResponse, err error)
- func (c *Client) ResumeSubscribeWithContext(ctx context.Context, request *ResumeSubscribeRequest) (response *ResumeSubscribeResponse, err error)
- func (c *Client) ResumeSyncJob(request *ResumeSyncJobRequest) (response *ResumeSyncJobResponse, err error)
- func (c *Client) ResumeSyncJobWithContext(ctx context.Context, request *ResumeSyncJobRequest) (response *ResumeSyncJobResponse, err error)
- func (c *Client) SkipCheckItem(request *SkipCheckItemRequest) (response *SkipCheckItemResponse, err error)
- func (c *Client) SkipCheckItemWithContext(ctx context.Context, request *SkipCheckItemRequest) (response *SkipCheckItemResponse, err error)
- func (c *Client) SkipSyncCheckItem(request *SkipSyncCheckItemRequest) (response *SkipSyncCheckItemResponse, err error)
- func (c *Client) SkipSyncCheckItemWithContext(ctx context.Context, request *SkipSyncCheckItemRequest) (response *SkipSyncCheckItemResponse, err error)
- func (c *Client) StartCompare(request *StartCompareRequest) (response *StartCompareResponse, err error)
- func (c *Client) StartCompareWithContext(ctx context.Context, request *StartCompareRequest) (response *StartCompareResponse, err error)
- func (c *Client) StartMigrateJob(request *StartMigrateJobRequest) (response *StartMigrateJobResponse, err error)
- func (c *Client) StartMigrateJobWithContext(ctx context.Context, request *StartMigrateJobRequest) (response *StartMigrateJobResponse, err error)
- func (c *Client) StartModifySyncJob(request *StartModifySyncJobRequest) (response *StartModifySyncJobResponse, err error)
- func (c *Client) StartModifySyncJobWithContext(ctx context.Context, request *StartModifySyncJobRequest) (response *StartModifySyncJobResponse, err error)
- func (c *Client) StartSubscribe(request *StartSubscribeRequest) (response *StartSubscribeResponse, err error)
- func (c *Client) StartSubscribeWithContext(ctx context.Context, request *StartSubscribeRequest) (response *StartSubscribeResponse, 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 Column
- type CompareAbstractInfo
- type CompareColumnItem
- type CompareDetailInfo
- type CompareObject
- type CompareObjectItem
- type CompareOptions
- type CompareTableItem
- type CompareTaskInfo
- type CompareTaskItem
- type CompareViewItem
- type CompleteMigrateJobRequest
- type CompleteMigrateJobRequestParams
- type CompleteMigrateJobResponse
- type CompleteMigrateJobResponseParams
- type ConfigureSubscribeJobRequest
- type ConfigureSubscribeJobRequestParams
- type ConfigureSubscribeJobResponse
- type ConfigureSubscribeJobResponseParams
- type ConfigureSyncJobRequest
- type ConfigureSyncJobRequestParams
- type ConfigureSyncJobResponse
- type ConfigureSyncJobResponseParams
- type ConflictHandleOption
- type ConsistencyOption
- type ContinueMigrateJobRequest
- type ContinueMigrateJobRequestParams
- type ContinueMigrateJobResponse
- type ContinueMigrateJobResponseParams
- type ContinueSyncJobRequest
- type ContinueSyncJobRequestParams
- type ContinueSyncJobResponse
- type ContinueSyncJobResponseParams
- type CreateCheckSyncJobRequest
- type CreateCheckSyncJobRequestParams
- type CreateCheckSyncJobResponse
- type CreateCheckSyncJobResponseParams
- type CreateCompareTaskRequest
- type CreateCompareTaskRequestParams
- type CreateCompareTaskResponse
- type CreateCompareTaskResponseParams
- type CreateConsumerGroupRequest
- type CreateConsumerGroupRequestParams
- type CreateConsumerGroupResponse
- type CreateConsumerGroupResponseParams
- type CreateMigrateCheckJobRequest
- type CreateMigrateCheckJobRequestParams
- type CreateMigrateCheckJobResponse
- type CreateMigrateCheckJobResponseParams
- type CreateMigrationServiceRequest
- type CreateMigrationServiceRequestParams
- type CreateMigrationServiceResponse
- type CreateMigrationServiceResponseParams
- type CreateModifyCheckSyncJobRequest
- type CreateModifyCheckSyncJobRequestParams
- type CreateModifyCheckSyncJobResponse
- type CreateModifyCheckSyncJobResponseParams
- type CreateSubscribeCheckJobRequest
- type CreateSubscribeCheckJobRequestParams
- type CreateSubscribeCheckJobResponse
- type CreateSubscribeCheckJobResponseParams
- type CreateSubscribeRequest
- type CreateSubscribeRequestParams
- type CreateSubscribeResponse
- type CreateSubscribeResponseParams
- 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 DeleteConsumerGroupRequest
- type DeleteConsumerGroupRequestParams
- type DeleteConsumerGroupResponse
- type DeleteConsumerGroupResponseParams
- 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 DescribeConsumerGroupsRequest
- type DescribeConsumerGroupsRequestParams
- type DescribeConsumerGroupsResponse
- type DescribeConsumerGroupsResponseParams
- type DescribeMigrateDBInstancesRequest
- type DescribeMigrateDBInstancesRequestParams
- type DescribeMigrateDBInstancesResponse
- type DescribeMigrateDBInstancesResponseParams
- type DescribeMigrationCheckJobRequest
- type DescribeMigrationCheckJobRequestParams
- type DescribeMigrationCheckJobResponse
- type DescribeMigrationCheckJobResponseParams
- type DescribeMigrationDetailRequest
- type DescribeMigrationDetailRequestParams
- type DescribeMigrationDetailResponse
- type DescribeMigrationDetailResponseParams
- type DescribeMigrationJobsRequest
- type DescribeMigrationJobsRequestParams
- type DescribeMigrationJobsResponse
- type DescribeMigrationJobsResponseParams
- type DescribeModifyCheckSyncJobResultRequest
- type DescribeModifyCheckSyncJobResultRequestParams
- type DescribeModifyCheckSyncJobResultResponse
- type DescribeModifyCheckSyncJobResultResponseParams
- type DescribeOffsetByTimeRequest
- type DescribeOffsetByTimeRequestParams
- type DescribeOffsetByTimeResponse
- type DescribeOffsetByTimeResponseParams
- type DescribeSubscribeCheckJobRequest
- type DescribeSubscribeCheckJobRequestParams
- type DescribeSubscribeCheckJobResponse
- type DescribeSubscribeCheckJobResponseParams
- type DescribeSubscribeDetailRequest
- type DescribeSubscribeDetailRequestParams
- type DescribeSubscribeDetailResponse
- type DescribeSubscribeDetailResponseParams
- type DescribeSubscribeJobsRequest
- type DescribeSubscribeJobsRequestParams
- type DescribeSubscribeJobsResponse
- type DescribeSubscribeJobsResponseParams
- type DescribeSubscribeReturnableRequest
- type DescribeSubscribeReturnableRequestParams
- type DescribeSubscribeReturnableResponse
- type DescribeSubscribeReturnableResponseParams
- type DescribeSyncJobsRequest
- type DescribeSyncJobsRequestParams
- type DescribeSyncJobsResponse
- type DescribeSyncJobsResponseParams
- type DestroyIsolatedSubscribeRequest
- type DestroyIsolatedSubscribeRequestParams
- type DestroyIsolatedSubscribeResponse
- type DestroyIsolatedSubscribeResponseParams
- type DestroyMigrateJobRequest
- type DestroyMigrateJobRequestParams
- type DestroyMigrateJobResponse
- type DestroyMigrateJobResponseParams
- type DestroySyncJobRequest
- type DestroySyncJobRequestParams
- type DestroySyncJobResponse
- type DestroySyncJobResponseParams
- type DetailCheckItem
- type DifferenceDetail
- type DifferenceItem
- type DistributeRule
- type DynamicOptions
- type Endpoint
- type EndpointItem
- type ErrInfo
- type ErrorInfoItem
- type GroupInfo
- type IsolateMigrateJobRequest
- type IsolateMigrateJobRequestParams
- type IsolateMigrateJobResponse
- type IsolateMigrateJobResponseParams
- type IsolateSubscribeRequest
- type IsolateSubscribeRequestParams
- type IsolateSubscribeResponse
- type IsolateSubscribeResponseParams
- type IsolateSyncJobRequest
- type IsolateSyncJobRequestParams
- type IsolateSyncJobResponse
- type IsolateSyncJobResponseParams
- type JobItem
- type KafkaOption
- type KeyValuePairOption
- type MigrateAction
- type MigrateDBItem
- type MigrateDetailInfo
- type MigrateOption
- type ModifiedSubscribeObject
- type ModifyCompareTaskNameRequest
- type ModifyCompareTaskNameRequestParams
- type ModifyCompareTaskNameResponse
- type ModifyCompareTaskNameResponseParams
- type ModifyCompareTaskRequest
- type ModifyCompareTaskRequestParams
- type ModifyCompareTaskResponse
- type ModifyCompareTaskResponseParams
- type ModifyConsumerGroupDescriptionRequest
- type ModifyConsumerGroupDescriptionRequestParams
- type ModifyConsumerGroupDescriptionResponse
- type ModifyConsumerGroupDescriptionResponseParams
- type ModifyConsumerGroupPasswordRequest
- type ModifyConsumerGroupPasswordRequestParams
- type ModifyConsumerGroupPasswordResponse
- type ModifyConsumerGroupPasswordResponseParams
- type ModifyMigrateJobSpecRequest
- type ModifyMigrateJobSpecRequestParams
- type ModifyMigrateJobSpecResponse
- type ModifyMigrateJobSpecResponseParams
- type ModifyMigrateNameRequest
- type ModifyMigrateNameRequestParams
- type ModifyMigrateNameResponse
- type ModifyMigrateNameResponseParams
- type ModifyMigrateRateLimitRequest
- type ModifyMigrateRateLimitRequestParams
- type ModifyMigrateRateLimitResponse
- type ModifyMigrateRateLimitResponseParams
- type ModifyMigrateRuntimeAttributeRequest
- type ModifyMigrateRuntimeAttributeRequestParams
- type ModifyMigrateRuntimeAttributeResponse
- type ModifyMigrateRuntimeAttributeResponseParams
- type ModifyMigrationJobRequest
- type ModifyMigrationJobRequestParams
- type ModifyMigrationJobResponse
- type ModifyMigrationJobResponseParams
- type ModifySubscribeAutoRenewFlagRequest
- type ModifySubscribeAutoRenewFlagRequestParams
- type ModifySubscribeAutoRenewFlagResponse
- type ModifySubscribeAutoRenewFlagResponseParams
- type ModifySubscribeNameRequest
- type ModifySubscribeNameRequestParams
- type ModifySubscribeNameResponse
- type ModifySubscribeNameResponseParams
- type ModifySubscribeObjectsRequest
- type ModifySubscribeObjectsRequestParams
- type ModifySubscribeObjectsResponse
- type ModifySubscribeObjectsResponseParams
- type ModifySyncJobConfigRequest
- type ModifySyncJobConfigRequestParams
- type ModifySyncJobConfigResponse
- type ModifySyncJobConfigResponseParams
- type ModifySyncRateLimitRequest
- type ModifySyncRateLimitRequestParams
- type ModifySyncRateLimitResponse
- type ModifySyncRateLimitResponseParams
- type MonitorInfo
- type Objects
- type OffsetTimeMap
- type OnlineDDL
- type Options
- type PartitionAssignment
- type PauseMigrateJobRequest
- type PauseMigrateJobRequestParams
- type PauseMigrateJobResponse
- type PauseMigrateJobResponseParams
- type PauseSyncJobRequest
- type PauseSyncJobRequestParams
- type PauseSyncJobResponse
- type PauseSyncJobResponseParams
- type PipelineInfo
- type ProcessProgress
- type ProcessStepTip
- type RateLimitOption
- type RecoverMigrateJobRequest
- type RecoverMigrateJobRequestParams
- type RecoverMigrateJobResponse
- type RecoverMigrateJobResponseParams
- type RecoverSyncJobRequest
- type RecoverSyncJobRequestParams
- type RecoverSyncJobResponse
- type RecoverSyncJobResponseParams
- type ResetConsumerGroupOffsetRequest
- type ResetConsumerGroupOffsetRequestParams
- type ResetConsumerGroupOffsetResponse
- type ResetConsumerGroupOffsetResponseParams
- type ResetSubscribeRequest
- type ResetSubscribeRequestParams
- type ResetSubscribeResponse
- type ResetSubscribeResponseParams
- type ResizeSyncJobRequest
- type ResizeSyncJobRequestParams
- type ResizeSyncJobResponse
- type ResizeSyncJobResponseParams
- type ResumeMigrateJobRequest
- type ResumeMigrateJobRequestParams
- type ResumeMigrateJobResponse
- type ResumeMigrateJobResponseParams
- type ResumeSubscribeRequest
- type ResumeSubscribeRequestParams
- type ResumeSubscribeResponse
- type ResumeSubscribeResponseParams
- type ResumeSyncJobRequest
- type ResumeSyncJobRequestParams
- type ResumeSyncJobResponse
- type ResumeSyncJobResponseParams
- type RoleItem
- type SkipCheckItemRequest
- type SkipCheckItemRequestParams
- type SkipCheckItemResponse
- type SkipCheckItemResponseParams
- type SkipSyncCheckItemRequest
- type SkipSyncCheckItemRequestParams
- type SkipSyncCheckItemResponse
- type SkipSyncCheckItemResponseParams
- type SkippedDetail
- type SkippedItem
- type StartCompareRequest
- type StartCompareRequestParams
- type StartCompareResponse
- type StartCompareResponseParams
- type StartMigrateJobRequest
- type StartMigrateJobRequestParams
- type StartMigrateJobResponse
- type StartMigrateJobResponseParams
- type StartModifySyncJobRequest
- type StartModifySyncJobRequestParams
- type StartModifySyncJobResponse
- type StartModifySyncJobResponseParams
- type StartSubscribeRequest
- type StartSubscribeRequestParams
- type StartSubscribeResponse
- type StartSubscribeResponseParams
- 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 SubsErr
- type SubscribeCheckStepInfo
- type SubscribeCheckStepTip
- type SubscribeInfo
- type SubscribeKafkaConfig
- type SubscribeObject
- type SyncDBEndpointInfos
- type SyncDetailInfo
- type SyncJobInfo
- type Table
- type TableItem
- type TagFilter
- type TagItem
- type TopicRule
- type TradeInfo
- type View
- type ViewItem
Constants ¶
const ( // The CAM signature/authentication information is incorrect. AUTHFAILURE = "AuthFailure" // Authentication failed. AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" // Authentication was denied. AUTHFAILURE_AUTHORIZEDOPERATIONDENYERROR = "AuthFailure.AuthorizedOperationDenyError" // The current user is not allowed to perform this operation as the authentication failed. AUTHFAILURE_UNAUTHORIZEDOPERATIONERROR = "AuthFailure.UnauthorizedOperationError" // DryRun operation, which means an unnecessary DryRun parameter is passed in yet the request will still be successful. DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" // Operation failed. FAILEDOPERATION = "FailedOperation" // The operation failed. FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" // This operation is prohibited. FAILEDOPERATION_NOTALLOWOPERATION = "FailedOperation.NotAllowOperation" // Failed to start the task. FAILEDOPERATION_STARTJOBFAILED = "FailedOperation.StartJobFailed" // This operation cannot be performed due to a status conflict. FAILEDOPERATION_STATUSINCONFLICT = "FailedOperation.StatusInConflict" // FAILEDOPERATION_USERNOTAUTHED = "FailedOperation.UserNotAuthed" // 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" // HTTP request error. INTERNALERROR_EXECHTTPREQUESTERROR = "InternalError.ExecHttpRequestError" // An internal error occurred. INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" // An HTTP access request error occurred. INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" // An error occurred while accessing the internal component. INTERNALERROR_INTERNALINNERCOMMONERROR = "InternalError.InternalInnerCommonError" // Failed to call the billing service. INTERNALERROR_INTERNALTRADEERROR = "InternalError.InternalTradeError" // Locks are in conflict. INTERNALERROR_LOCKERROR = "InternalError.LockError" // The account balance is insufficient. INTERNALERROR_NOTENOUGHMONEYERROR = "InternalError.NotEnoughMoneyError" // A communication protocol error occurred. INTERNALERROR_PROTOCOLERROR = "InternalError.ProtocolError" // An internal error occurred. INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" // An unknown internal error occurred. INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" // The parameter is incorrect. INVALIDPARAMETER = "InvalidParameter" // The current API is not registered due to an exception. INVALIDPARAMETER_CONTROLLERNOTFOUNDERROR = "InvalidParameter.ControllerNotFoundError" // The instance does not exist. INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" // The parameter is invalid. INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" // Invalid parameter value. INVALIDPARAMETERVALUE = "InvalidParameterValue" // A data conversion error occurred. INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" // The parameter value is incorrect. INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUE = "InvalidParameterValue.InvalidParameterValue" // The parameter is invalid. INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" // The quantity exceeds the limit. LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" // The number of idle migration tasks exceeds the limit. LIMITEXCEEDED_MAXUNUSEDJOBS = "LimitExceeded.MaxUnusedJobs" // The parameter is missing. MISSINGPARAMETER = "MissingParameter" // The parameter is lost. MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" // The operation was denied. OPERATIONDENIED = "OperationDenied" // The operation was denied as the condition was not met. OPERATIONDENIED_BIZOPERATIONDENIEDERROR = "OperationDenied.BizOperationDeniedError" // The task operation failed. OPERATIONDENIED_JOBOPERATIONDENIEDERROR = "OperationDenied.JobOperationDeniedError" // The account balance is insufficient. OPERATIONDENIED_NOTENOUGHMONEYERROR = "OperationDenied.NotEnoughMoneyError" // This operation cannot be performed. OPERATIONDENIED_OPERATIONDENIED = "OperationDenied.OperationDenied" // The operation was denied. OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" // The number of requests exceeds the limit. REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" // The resource is being used. RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" // The resources are insufficient. RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" // The resource does not exist. RESOURCENOTFOUND = "ResourceNotFound" // The resource was not found. RESOURCENOTFOUND_BIZRESOURCENOTFOUNDERROR = "ResourceNotFound.BizResourceNotFoundError" // The migration task does not exist. RESOURCENOTFOUND_JOBNOTEXIST = "ResourceNotFound.JobNotExist" // The instance was not found. RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" // The resource was not found. RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" // The resource is unavailable. RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" // The resources have been sold out. RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" // The operation is unauthorized. UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // Authentication failed as there were no required permissions. UNAUTHORIZEDOPERATION_NOTENOUGHPRIVILEGES = "UnauthorizedOperation.NotEnoughPrivileges" // The operation is unauthorized. UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" // The operation is unauthorized. UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" // The parameter is unknown. UNKNOWNPARAMETER = "UnknownParameter" // The parameter is unknown. UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" // The operation is not supported. UNSUPPORTEDOPERATION = "UnsupportedOperation" // The intranet user did not specify the required tags when creating the migration task. The **department**, **product**, and **owner** tags must be specified. UNSUPPORTEDOPERATION_INTRANETUSERNOTTAGGEDERROR = "UnsupportedOperation.IntraNetUserNotTaggedError" // The intranet user did not specify the required tags when creating the sync task. The **department**, **product**, and **owner** tags must be specified. UNSUPPORTEDOPERATION_INTRANETUSERNOTTAGGEDFORSYNCJOBERROR = "UnsupportedOperation.IntraNetUserNotTaggedForSyncJobError" // The operation is not supported. UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError" )
const APIVersion = "2021-12-06"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckStep ¶
type CheckStep struct { // Step number // Note: This field may return null, indicating that no valid values can be obtained. StepNo *uint64 `json:"StepNo,omitnil,omitempty" name:"StepNo"` // Step ID such as `ConnectDBCheck`, `VersionCheck`, and `SrcPrivilegeCheck`. The specific check items are subject to source and target instances. // Note: This field may return null, indicating that no valid values can be obtained. StepId *string `json:"StepId,omitnil,omitempty" name:"StepId"` // Step name // Note: This field may return null, indicating that no valid values can be obtained. StepName *string `json:"StepName,omitnil,omitempty" name:"StepName"` // Result of this check step. Valid values: `pass`, `failed`, `notStarted`, `blocked`, `warning`. // Note: This field may return null, indicating that no valid values can be obtained. StepStatus *string `json:"StepStatus,omitnil,omitempty" name:"StepStatus"` // Error message in this check step // Note: This field may return null, indicating that no valid values can be obtained. StepMessage *string `json:"StepMessage,omitnil,omitempty" name:"StepMessage"` // Specific check item in this check step // Note: This field may return null, indicating that no valid values can be obtained. DetailCheckItems []*DetailCheckItem `json:"DetailCheckItems,omitnil,omitempty" name:"DetailCheckItems"` // Whether this step was skipped // Note: This field may return null, indicating that no valid values can be obtained. HasSkipped *bool `json:"HasSkipped,omitnil,omitempty" name:"HasSkipped"` }
type CheckStepInfo ¶
type CheckStepInfo struct { // Task start time // Note: This field may return null, indicating that no valid values can be obtained. StartAt *string `json:"StartAt,omitnil,omitempty" name:"StartAt"` // Task end time // Note: This field may return null, indicating that no valid values can be obtained. EndAt *string `json:"EndAt,omitnil,omitempty" name:"EndAt"` // Task step information // Note: This field may return null, indicating that no valid values can be obtained. Progress *ProcessProgress `json:"Progress,omitnil,omitempty" name:"Progress"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CompleteMigrateJob ¶
func (c *Client) CompleteMigrateJob(request *CompleteMigrateJobRequest) (response *CompleteMigrateJobResponse, err error)
CompleteMigrateJob This API is used to complete a data migration task.
For tasks in incremental migration mode, you need to call this API before migration gets ready for completion to stop migrating incremental data.
If the task status queried through the `DescribeMigrationJobs` API is ready (`Status` = `readyComplete`), you can call this API to complete the migration task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_NOTALLOWOPERATION = "FailedOperation.NotAllowOperation" FAILEDOPERATION_STATUSINCONFLICT = "FailedOperation.StatusInConflict" INTERNALERROR_CELERYERROR = "InternalError.CeleryError" INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError" INTERNALERROR_DUPLICATEJOB = "InternalError.DuplicateJob" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_PROTOCOLERROR = "InternalError.ProtocolError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_JOBOPERATIONDENIEDERROR = "OperationDenied.JobOperationDeniedError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_BIZRESOURCENOTFOUNDERROR = "ResourceNotFound.BizResourceNotFoundError" RESOURCENOTFOUND_JOBNOTEXIST = "ResourceNotFound.JobNotExist" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_NOTENOUGHPRIVILEGES = "UnauthorizedOperation.NotEnoughPrivileges" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) CompleteMigrateJobWithContext ¶
func (c *Client) CompleteMigrateJobWithContext(ctx context.Context, request *CompleteMigrateJobRequest) (response *CompleteMigrateJobResponse, err error)
CompleteMigrateJob This API is used to complete a data migration task.
For tasks in incremental migration mode, you need to call this API before migration gets ready for completion to stop migrating incremental data.
If the task status queried through the `DescribeMigrationJobs` API is ready (`Status` = `readyComplete`), you can call this API to complete the migration task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_NOTALLOWOPERATION = "FailedOperation.NotAllowOperation" FAILEDOPERATION_STATUSINCONFLICT = "FailedOperation.StatusInConflict" INTERNALERROR_CELERYERROR = "InternalError.CeleryError" INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError" INTERNALERROR_DUPLICATEJOB = "InternalError.DuplicateJob" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_PROTOCOLERROR = "InternalError.ProtocolError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_JOBOPERATIONDENIEDERROR = "OperationDenied.JobOperationDeniedError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_BIZRESOURCENOTFOUNDERROR = "ResourceNotFound.BizResourceNotFoundError" RESOURCENOTFOUND_JOBNOTEXIST = "ResourceNotFound.JobNotExist" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_NOTENOUGHPRIVILEGES = "UnauthorizedOperation.NotEnoughPrivileges" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ConfigureSubscribeJob ¶
func (c *Client) ConfigureSubscribeJob(request *ConfigureSubscribeJobRequest) (response *ConfigureSubscribeJobResponse, err error)
ConfigureSubscribeJob This API is used to configure data subscription instances.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONTROLLERNOTFOUNDERROR = "InvalidParameter.ControllerNotFoundError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ConfigureSubscribeJobWithContext ¶
func (c *Client) ConfigureSubscribeJobWithContext(ctx context.Context, request *ConfigureSubscribeJobRequest) (response *ConfigureSubscribeJobResponse, err error)
ConfigureSubscribeJob This API is used to configure data subscription instances.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONTROLLERNOTFOUNDERROR = "InvalidParameter.ControllerNotFoundError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ConfigureSyncJob ¶
func (c *Client) ConfigureSyncJob(request *ConfigureSyncJobRequest) (response *ConfigureSyncJobResponse, err error)
ConfigureSyncJob This API is used to configure a sync task.
error code that may be returned:
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) ConfigureSyncJobWithContext ¶
func (c *Client) ConfigureSyncJobWithContext(ctx context.Context, request *ConfigureSyncJobRequest) (response *ConfigureSyncJobResponse, err error)
ConfigureSyncJob This API is used to configure a sync task.
error code that may be returned:
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) ContinueMigrateJob ¶
func (c *Client) ContinueMigrateJob(request *ContinueMigrateJobRequest) (response *ContinueMigrateJobResponse, err error)
ContinueMigrateJob This API is used to resume a paused migration task.
error code that may be returned:
INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) ContinueMigrateJobWithContext ¶
func (c *Client) ContinueMigrateJobWithContext(ctx context.Context, request *ContinueMigrateJobRequest) (response *ContinueMigrateJobResponse, err error)
ContinueMigrateJob This API is used to resume a paused migration task.
error code that may be returned:
INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) ContinueSyncJob ¶
func (c *Client) ContinueSyncJob(request *ContinueSyncJobRequest) (response *ContinueSyncJobResponse, err error)
ContinueSyncJob This API is used to resume a paused data sync task.
error code that may be returned:
INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" OPERATIONDENIED_BIZOPERATIONDENIEDERROR = "OperationDenied.BizOperationDeniedError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_BIZRESOURCENOTFOUNDERROR = "ResourceNotFound.BizResourceNotFoundError" RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) ContinueSyncJobWithContext ¶
func (c *Client) ContinueSyncJobWithContext(ctx context.Context, request *ContinueSyncJobRequest) (response *ContinueSyncJobResponse, err error)
ContinueSyncJob This API is used to resume a paused data sync task.
error code that may be returned:
INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" OPERATIONDENIED_BIZOPERATIONDENIEDERROR = "OperationDenied.BizOperationDeniedError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_BIZRESOURCENOTFOUNDERROR = "ResourceNotFound.BizResourceNotFoundError" RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) CreateCheckSyncJob ¶
func (c *Client) CreateCheckSyncJob(request *CreateCheckSyncJobRequest) (response *CreateCheckSyncJobResponse, err error)
CreateCheckSyncJob This API is used to verify a sync task by checking required parameters and peripheral configuration.
error code that may be returned:
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_INTRANETUSERNOTTAGGEDERROR = "UnsupportedOperation.IntraNetUserNotTaggedError" UNSUPPORTEDOPERATION_INTRANETUSERNOTTAGGEDFORSYNCJOBERROR = "UnsupportedOperation.IntraNetUserNotTaggedForSyncJobError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) CreateCheckSyncJobWithContext ¶
func (c *Client) CreateCheckSyncJobWithContext(ctx context.Context, request *CreateCheckSyncJobRequest) (response *CreateCheckSyncJobResponse, err error)
CreateCheckSyncJob This API is used to verify a sync task by checking required parameters and peripheral configuration.
error code that may be returned:
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_INTRANETUSERNOTTAGGEDERROR = "UnsupportedOperation.IntraNetUserNotTaggedError" UNSUPPORTEDOPERATION_INTRANETUSERNOTTAGGEDFORSYNCJOBERROR = "UnsupportedOperation.IntraNetUserNotTaggedForSyncJobError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) CreateCompareTask ¶
func (c *Client) CreateCompareTask(request *CreateCompareTaskRequest) (response *CreateCompareTaskResponse, err error)
CreateCompareTask This API is used to create a data consistency check task. After the task is successfully created, its ID will be returned in the format of `dts-8yv4w2i1-cmp-37skmii9`, and you can call `StartCompare` to start it.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) CreateCompareTaskWithContext ¶
func (c *Client) CreateCompareTaskWithContext(ctx context.Context, request *CreateCompareTaskRequest) (response *CreateCompareTaskResponse, err error)
CreateCompareTask This API is used to create a data consistency check task. After the task is successfully created, its ID will be returned in the format of `dts-8yv4w2i1-cmp-37skmii9`, and you can call `StartCompare` to start it.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) CreateConsumerGroup ¶
func (c *Client) CreateConsumerGroup(request *CreateConsumerGroupRequest) (response *CreateConsumerGroupResponse, err error)
CreateConsumerGroup This API is used to creat a consumer group for the subscription instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUE = "InvalidParameterValue.InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) CreateConsumerGroupWithContext ¶
func (c *Client) CreateConsumerGroupWithContext(ctx context.Context, request *CreateConsumerGroupRequest) (response *CreateConsumerGroupResponse, err error)
CreateConsumerGroup This API is used to creat a consumer group for the subscription instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUE = "InvalidParameterValue.InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) CreateMigrateCheckJob ¶
func (c *Client) CreateMigrateCheckJob(request *CreateMigrateCheckJobRequest) (response *CreateMigrateCheckJobResponse, err error)
CreateMigrateCheckJob This API is used to verify a migration task.
Before migration, you should call this API to create a check task. Migration will start only if the check succeeds. You can view the check result through the `DescribeMigrationCheckJob` API.
After successful check, if the migration task needs to be modified, a new check task should be created, and migration will start only after the new check succeeds.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_NOTALLOWOPERATION = "FailedOperation.NotAllowOperation" INTERNALERROR = "InternalError" INTERNALERROR_ADDTASKERROR = "InternalError.AddTaskError" INTERNALERROR_CELERYERROR = "InternalError.CeleryError" INTERNALERROR_CGWSYSTEMERROR = "InternalError.CgwSystemError" INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError" INTERNALERROR_DUPLICATEJOB = "InternalError.DuplicateJob" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_LOCKERROR = "InternalError.LockError" INTERNALERROR_PROTOCOLERROR = "InternalError.ProtocolError" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" LIMITEXCEEDED_MAXUNUSEDJOBS = "LimitExceeded.MaxUnusedJobs" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_JOBOPERATIONDENIEDERROR = "OperationDenied.JobOperationDeniedError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_JOBNOTEXIST = "ResourceNotFound.JobNotExist" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_NOTENOUGHPRIVILEGES = "UnauthorizedOperation.NotEnoughPrivileges" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_INTRANETUSERNOTTAGGEDERROR = "UnsupportedOperation.IntraNetUserNotTaggedError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) CreateMigrateCheckJobWithContext ¶
func (c *Client) CreateMigrateCheckJobWithContext(ctx context.Context, request *CreateMigrateCheckJobRequest) (response *CreateMigrateCheckJobResponse, err error)
CreateMigrateCheckJob This API is used to verify a migration task.
Before migration, you should call this API to create a check task. Migration will start only if the check succeeds. You can view the check result through the `DescribeMigrationCheckJob` API.
After successful check, if the migration task needs to be modified, a new check task should be created, and migration will start only after the new check succeeds.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_NOTALLOWOPERATION = "FailedOperation.NotAllowOperation" INTERNALERROR = "InternalError" INTERNALERROR_ADDTASKERROR = "InternalError.AddTaskError" INTERNALERROR_CELERYERROR = "InternalError.CeleryError" INTERNALERROR_CGWSYSTEMERROR = "InternalError.CgwSystemError" INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError" INTERNALERROR_DUPLICATEJOB = "InternalError.DuplicateJob" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_LOCKERROR = "InternalError.LockError" INTERNALERROR_PROTOCOLERROR = "InternalError.ProtocolError" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" LIMITEXCEEDED_MAXUNUSEDJOBS = "LimitExceeded.MaxUnusedJobs" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_JOBOPERATIONDENIEDERROR = "OperationDenied.JobOperationDeniedError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_JOBNOTEXIST = "ResourceNotFound.JobNotExist" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_NOTENOUGHPRIVILEGES = "UnauthorizedOperation.NotEnoughPrivileges" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_INTRANETUSERNOTTAGGEDERROR = "UnsupportedOperation.IntraNetUserNotTaggedError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) CreateMigrationService ¶
func (c *Client) CreateMigrationService(request *CreateMigrationServiceRequest) (response *CreateMigrationServiceResponse, err error)
CreateMigrationService This API is used to purchase migration tasks. After the tasks are purchased successfully, a randomly generated list of task IDs will be returned. You can also call the `DescribeMigrationJobs` API to query the IDs of the successfully purchased tasks. Note that once a task is purchased successfully, the types and regions of the source and target databases cannot be changed.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) CreateMigrationServiceWithContext ¶
func (c *Client) CreateMigrationServiceWithContext(ctx context.Context, request *CreateMigrationServiceRequest) (response *CreateMigrationServiceResponse, err error)
CreateMigrationService This API is used to purchase migration tasks. After the tasks are purchased successfully, a randomly generated list of task IDs will be returned. You can also call the `DescribeMigrationJobs` API to query the IDs of the successfully purchased tasks. Note that once a task is purchased successfully, the types and regions of the source and target databases cannot be changed.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) CreateModifyCheckSyncJob ¶
func (c *Client) CreateModifyCheckSyncJob(request *CreateModifyCheckSyncJobRequest) (response *CreateModifyCheckSyncJobResponse, err error)
CreateModifyCheckSyncJob This API is used to check whether the current data sync task supports object modification after the task configuration is modified.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) CreateModifyCheckSyncJobWithContext ¶
func (c *Client) CreateModifyCheckSyncJobWithContext(ctx context.Context, request *CreateModifyCheckSyncJobRequest) (response *CreateModifyCheckSyncJobResponse, err error)
CreateModifyCheckSyncJob This API is used to check whether the current data sync task supports object modification after the task configuration is modified.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) CreateSubscribe ¶
func (c *Client) CreateSubscribe(request *CreateSubscribeRequest) (response *CreateSubscribeResponse, err error)
CreateSubscribe This API is used to create a data subscription task.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_USERNOTAUTHED = "FailedOperation.UserNotAuthed" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_NOTENOUGHMONEYERROR = "OperationDenied.NotEnoughMoneyError" OPERATIONDENIED_OPERATIONDENIED = "OperationDenied.OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) CreateSubscribeCheckJob ¶
func (c *Client) CreateSubscribeCheckJob(request *CreateSubscribeCheckJobRequest) (response *CreateSubscribeCheckJobResponse, err error)
CreateSubscribeCheckJob This API is used to create a subscription check task. The task must have successfully called the ConfigureSubscribeJob interface to configure all necessary information before starting the check.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) CreateSubscribeCheckJobWithContext ¶
func (c *Client) CreateSubscribeCheckJobWithContext(ctx context.Context, request *CreateSubscribeCheckJobRequest) (response *CreateSubscribeCheckJobResponse, err error)
CreateSubscribeCheckJob This API is used to create a subscription check task. The task must have successfully called the ConfigureSubscribeJob interface to configure all necessary information before starting the check.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) CreateSubscribeWithContext ¶
func (c *Client) CreateSubscribeWithContext(ctx context.Context, request *CreateSubscribeRequest) (response *CreateSubscribeResponse, err error)
CreateSubscribe This API is used to create a data subscription task.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_USERNOTAUTHED = "FailedOperation.UserNotAuthed" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_NOTENOUGHMONEYERROR = "OperationDenied.NotEnoughMoneyError" OPERATIONDENIED_OPERATIONDENIED = "OperationDenied.OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) CreateSyncJob ¶
func (c *Client) CreateSyncJob(request *CreateSyncJobRequest) (response *CreateSyncJobResponse, err error)
CreateSyncJob This API is used to create a sync task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" AUTHFAILURE_UNAUTHORIZEDOPERATIONERROR = "AuthFailure.UnauthorizedOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_INTERNALINNERCOMMONERROR = "InternalError.InternalInnerCommonError" INTERNALERROR_INTERNALTRADEERROR = "InternalError.InternalTradeError" INTERNALERROR_NOTENOUGHMONEYERROR = "InternalError.NotEnoughMoneyError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_BIZOPERATIONDENIEDERROR = "OperationDenied.BizOperationDeniedError" OPERATIONDENIED_NOTENOUGHMONEYERROR = "OperationDenied.NotEnoughMoneyError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError"
func (*Client) CreateSyncJobWithContext ¶
func (c *Client) CreateSyncJobWithContext(ctx context.Context, request *CreateSyncJobRequest) (response *CreateSyncJobResponse, err error)
CreateSyncJob This API is used to create a sync task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" AUTHFAILURE_UNAUTHORIZEDOPERATIONERROR = "AuthFailure.UnauthorizedOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_INTERNALINNERCOMMONERROR = "InternalError.InternalInnerCommonError" INTERNALERROR_INTERNALTRADEERROR = "InternalError.InternalTradeError" INTERNALERROR_NOTENOUGHMONEYERROR = "InternalError.NotEnoughMoneyError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_BIZOPERATIONDENIEDERROR = "OperationDenied.BizOperationDeniedError" OPERATIONDENIED_NOTENOUGHMONEYERROR = "OperationDenied.NotEnoughMoneyError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError"
func (*Client) DeleteCompareTask ¶
func (c *Client) DeleteCompareTask(request *DeleteCompareTaskRequest) (response *DeleteCompareTaskResponse, err error)
DeleteCompareTask This API is used to delete a data consistency check task, which can be called when the task status is `success`, `failed`, or `canceled`.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUE = "InvalidParameterValue.InvalidParameterValue" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DeleteCompareTaskWithContext ¶
func (c *Client) DeleteCompareTaskWithContext(ctx context.Context, request *DeleteCompareTaskRequest) (response *DeleteCompareTaskResponse, err error)
DeleteCompareTask This API is used to delete a data consistency check task, which can be called when the task status is `success`, `failed`, or `canceled`.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUE = "InvalidParameterValue.InvalidParameterValue" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DeleteConsumerGroup ¶
func (c *Client) DeleteConsumerGroup(request *DeleteConsumerGroupRequest) (response *DeleteConsumerGroupResponse, err error)
DeleteConsumerGroup This API is used to delete a consumer group of a subscription task.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DeleteConsumerGroupWithContext ¶
func (c *Client) DeleteConsumerGroupWithContext(ctx context.Context, request *DeleteConsumerGroupRequest) (response *DeleteConsumerGroupResponse, err error)
DeleteConsumerGroup This API is used to delete a consumer group of a subscription task.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeCheckSyncJobResult ¶
func (c *Client) DescribeCheckSyncJobResult(request *DescribeCheckSyncJobResultRequest) (response *DescribeCheckSyncJobResultResponse, err error)
DescribeCheckSyncJobResult This API is used to query the result of the sync check task and check the required parameters and peripheral configurations.
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_BIZRESOURCENOTFOUNDERROR = "ResourceNotFound.BizResourceNotFoundError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) DescribeCheckSyncJobResultWithContext ¶
func (c *Client) DescribeCheckSyncJobResultWithContext(ctx context.Context, request *DescribeCheckSyncJobResultRequest) (response *DescribeCheckSyncJobResultResponse, err error)
DescribeCheckSyncJobResult This API is used to query the result of the sync check task and check the required parameters and peripheral configurations.
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_BIZRESOURCENOTFOUNDERROR = "ResourceNotFound.BizResourceNotFoundError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) DescribeCompareReport ¶
func (c *Client) DescribeCompareReport(request *DescribeCompareReportRequest) (response *DescribeCompareReportResponse, err error)
DescribeCompareReport This API is used to query the details of a data consistency check task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeCompareReportWithContext ¶
func (c *Client) DescribeCompareReportWithContext(ctx context.Context, request *DescribeCompareReportRequest) (response *DescribeCompareReportResponse, err error)
DescribeCompareReport This API is used to query the details of a data consistency check task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeCompareTasks ¶
func (c *Client) DescribeCompareTasks(request *DescribeCompareTasksRequest) (response *DescribeCompareTasksResponse, err error)
DescribeCompareTasks This API is used to query the list of data consistency check tasks under the current task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_BIZRESOURCENOTFOUNDERROR = "ResourceNotFound.BizResourceNotFoundError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeCompareTasksWithContext ¶
func (c *Client) DescribeCompareTasksWithContext(ctx context.Context, request *DescribeCompareTasksRequest) (response *DescribeCompareTasksResponse, err error)
DescribeCompareTasks This API is used to query the list of data consistency check tasks under the current task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_BIZRESOURCENOTFOUNDERROR = "ResourceNotFound.BizResourceNotFoundError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeConsumerGroups ¶
func (c *Client) DescribeConsumerGroups(request *DescribeConsumerGroupsRequest) (response *DescribeConsumerGroupsResponse, err error)
DescribeConsumerGroups This API is used to get consumer group details for the subscription instance configuration.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeConsumerGroupsWithContext ¶
func (c *Client) DescribeConsumerGroupsWithContext(ctx context.Context, request *DescribeConsumerGroupsRequest) (response *DescribeConsumerGroupsResponse, err error)
DescribeConsumerGroups This API is used to get consumer group details for the subscription instance configuration.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" 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 = "UnsupportedOperation" 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 = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeModifyCheckSyncJobResult ¶
func (c *Client) DescribeModifyCheckSyncJobResult(request *DescribeModifyCheckSyncJobResultRequest) (response *DescribeModifyCheckSyncJobResultResponse, err error)
DescribeModifyCheckSyncJobResult This API is used to query the result of the created check task for object modification.
error code that may be returned:
INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"
func (*Client) DescribeModifyCheckSyncJobResultWithContext ¶
func (c *Client) DescribeModifyCheckSyncJobResultWithContext(ctx context.Context, request *DescribeModifyCheckSyncJobResultRequest) (response *DescribeModifyCheckSyncJobResultResponse, err error)
DescribeModifyCheckSyncJobResult This API is used to query the result of the created check task for object modification.
error code that may be returned:
INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"
func (*Client) DescribeOffsetByTime ¶
func (c *Client) DescribeOffsetByTime(request *DescribeOffsetByTimeRequest) (response *DescribeOffsetByTimeResponse, err error)
DescribeOffsetByTime This API is used to query the latest offset before the specified time in KafkaTopic.The offset output by the interface is the closest offset to this time.If the input time is much later than the current time, the output is equivalent to the latest offset;If the input time is much earlier than the current time, the output is equivalent to the oldest offset;If the input is empty, the default time is 0, which is the oldest offset to be queried.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeOffsetByTimeWithContext ¶
func (c *Client) DescribeOffsetByTimeWithContext(ctx context.Context, request *DescribeOffsetByTimeRequest) (response *DescribeOffsetByTimeResponse, err error)
DescribeOffsetByTime This API is used to query the latest offset before the specified time in KafkaTopic.The offset output by the interface is the closest offset to this time.If the input time is much later than the current time, the output is equivalent to the latest offset;If the input time is much earlier than the current time, the output is equivalent to the oldest offset;If the input is empty, the default time is 0, which is the oldest offset to be queried.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeSubscribeCheckJob ¶
func (c *Client) DescribeSubscribeCheckJob(request *DescribeSubscribeCheckJobRequest) (response *DescribeSubscribeCheckJobResponse, err error)
DescribeSubscribeCheckJob This API is used to query the results of a subscription check task.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeSubscribeCheckJobWithContext ¶
func (c *Client) DescribeSubscribeCheckJobWithContext(ctx context.Context, request *DescribeSubscribeCheckJobRequest) (response *DescribeSubscribeCheckJobResponse, err error)
DescribeSubscribeCheckJob This API is used to query the results of a subscription check task.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeSubscribeDetail ¶
func (c *Client) DescribeSubscribeDetail(request *DescribeSubscribeDetailRequest) (response *DescribeSubscribeDetailResponse, err error)
DescribeSubscribeDetail This API is used to get the configuration information of the data subscription instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeSubscribeDetailWithContext ¶
func (c *Client) DescribeSubscribeDetailWithContext(ctx context.Context, request *DescribeSubscribeDetailRequest) (response *DescribeSubscribeDetailResponse, err error)
DescribeSubscribeDetail This API is used to get the configuration information of the data subscription instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeSubscribeJobs ¶
func (c *Client) DescribeSubscribeJobs(request *DescribeSubscribeJobsRequest) (response *DescribeSubscribeJobsResponse, err error)
DescribeSubscribeJobs This API is used to get the information list of data subscription instances. Pagination is enabled by default with 20 results returned each time.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeSubscribeJobsWithContext ¶
func (c *Client) DescribeSubscribeJobsWithContext(ctx context.Context, request *DescribeSubscribeJobsRequest) (response *DescribeSubscribeJobsResponse, err error)
DescribeSubscribeJobs This API is used to get the information list of data subscription instances. Pagination is enabled by default with 20 results returned each time.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeSubscribeReturnable ¶
func (c *Client) DescribeSubscribeReturnable(request *DescribeSubscribeReturnableRequest) (response *DescribeSubscribeReturnableResponse, err error)
DescribeSubscribeReturnable This API is used to query whether a subscription task can be terminated and returned.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeSubscribeReturnableWithContext ¶
func (c *Client) DescribeSubscribeReturnableWithContext(ctx context.Context, request *DescribeSubscribeReturnableRequest) (response *DescribeSubscribeReturnableResponse, err error)
DescribeSubscribeReturnable This API is used to query whether a subscription task can be terminated and returned.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" 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_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_PROTOCOLERROR = "InternalError.ProtocolError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) DescribeSyncJobsWithContext ¶
func (c *Client) DescribeSyncJobsWithContext(ctx context.Context, request *DescribeSyncJobsRequest) (response *DescribeSyncJobsResponse, err error)
DescribeSyncJobs This API is used to query the information of a sync task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" AUTHFAILURE_UNAUTHORIZEDOPERATIONERROR = "AuthFailure.UnauthorizedOperationError" FAILEDOPERATION_NOTALLOWOPERATION = "FailedOperation.NotAllowOperation" INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_PROTOCOLERROR = "InternalError.ProtocolError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) DestroyIsolatedSubscribe ¶
func (c *Client) DestroyIsolatedSubscribe(request *DestroyIsolatedSubscribeRequest) (response *DestroyIsolatedSubscribeResponse, err error)
DestroyIsolatedSubscribe This API is used to deactivate an isolated data subscription instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DestroyIsolatedSubscribeWithContext ¶
func (c *Client) DestroyIsolatedSubscribeWithContext(ctx context.Context, request *DestroyIsolatedSubscribeRequest) (response *DestroyIsolatedSubscribeResponse, err error)
DestroyIsolatedSubscribe This API is used to deactivate an isolated data subscription instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
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) IsolateSubscribe ¶
func (c *Client) IsolateSubscribe(request *IsolateSubscribeRequest) (response *IsolateSubscribeResponse, err error)
IsolateSubscribe This API is used to isolate the subscription task. After calling, the subscription task will not be available. Pay-as-you-go tasks will stop billing, and monthly subscription tasks will refund automatically.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) IsolateSubscribeWithContext ¶
func (c *Client) IsolateSubscribeWithContext(ctx context.Context, request *IsolateSubscribeRequest) (response *IsolateSubscribeResponse, err error)
IsolateSubscribe This API is used to isolate the subscription task. After calling, the subscription task will not be available. Pay-as-you-go tasks will stop billing, and monthly subscription tasks will refund automatically.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" 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" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) IsolateSyncJobWithContext ¶
func (c *Client) IsolateSyncJobWithContext(ctx context.Context, request *IsolateSyncJobRequest) (response *IsolateSyncJobResponse, err error)
IsolateSyncJob This API is used to isolate a sync task. After the task is isolated, you can call the `DescribeSyncJobs` API to query its status, call `RecoverSyncJob` to recover it, or directly delete it. For a free task, calling this API will directly delete it permanently.
error code that may be returned:
INTERNALERROR_INTERNALTRADEERROR = "InternalError.InternalTradeError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ModifyCompareTask ¶
func (c *Client) ModifyCompareTask(request *ModifyCompareTaskRequest) (response *ModifyCompareTaskResponse, err error)
ModifyCompareTask This API is used to modify the parameters of a data consistency check task after it is created and before it starts.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ModifyCompareTaskName ¶
func (c *Client) ModifyCompareTaskName(request *ModifyCompareTaskNameRequest) (response *ModifyCompareTaskNameResponse, err error)
ModifyCompareTaskName This API is used to rename a data consistency check task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ModifyCompareTaskNameWithContext ¶
func (c *Client) ModifyCompareTaskNameWithContext(ctx context.Context, request *ModifyCompareTaskNameRequest) (response *ModifyCompareTaskNameResponse, err error)
ModifyCompareTaskName This API is used to rename a data consistency check task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ModifyCompareTaskWithContext ¶
func (c *Client) ModifyCompareTaskWithContext(ctx context.Context, request *ModifyCompareTaskRequest) (response *ModifyCompareTaskResponse, err error)
ModifyCompareTask This API is used to modify the parameters of a data consistency check task after it is created and before it starts.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ModifyConsumerGroupDescription ¶
func (c *Client) ModifyConsumerGroupDescription(request *ModifyConsumerGroupDescriptionRequest) (response *ModifyConsumerGroupDescriptionResponse, err error)
ModifyConsumerGroupDescription This API is used to modify the description of the specified subscription consumption group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ModifyConsumerGroupDescriptionWithContext ¶
func (c *Client) ModifyConsumerGroupDescriptionWithContext(ctx context.Context, request *ModifyConsumerGroupDescriptionRequest) (response *ModifyConsumerGroupDescriptionResponse, err error)
ModifyConsumerGroupDescription This API is used to modify the description of the specified subscription consumption group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ModifyConsumerGroupPassword ¶
func (c *Client) ModifyConsumerGroupPassword(request *ModifyConsumerGroupPasswordRequest) (response *ModifyConsumerGroupPasswordResponse, err error)
ModifyConsumerGroupPassword This API is used to modify the password of the specified subscription consumer group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ModifyConsumerGroupPasswordWithContext ¶
func (c *Client) ModifyConsumerGroupPasswordWithContext(ctx context.Context, request *ModifyConsumerGroupPasswordRequest) (response *ModifyConsumerGroupPasswordResponse, err error)
ModifyConsumerGroupPassword This API is used to modify the password of the specified subscription consumer group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" 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) ModifyMigrateRateLimit ¶
func (c *Client) ModifyMigrateRateLimit(request *ModifyMigrateRateLimitRequest) (response *ModifyMigrateRateLimitResponse, err error)
ModifyMigrateRateLimit This API is used to restrict the rate limit of the task, when a user finds that migration task has a large impact on the load of user's database.
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) ModifyMigrateRateLimitWithContext ¶
func (c *Client) ModifyMigrateRateLimitWithContext(ctx context.Context, request *ModifyMigrateRateLimitRequest) (response *ModifyMigrateRateLimitResponse, err error)
ModifyMigrateRateLimit This API is used to restrict the rate limit of the task, when a user finds that migration task has a large impact on the load of user's database.
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) ModifyMigrateRuntimeAttribute ¶
func (c *Client) ModifyMigrateRuntimeAttribute(request *ModifyMigrateRuntimeAttributeRequest) (response *ModifyMigrateRuntimeAttributeResponse, err error)
ModifyMigrateRuntimeAttribute This API is used to modify task runtime attributes. This interface is different from the configuration class interface and does not perform state machine evaluation.
error code that may be returned:
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_EXECHTTPREQUESTERROR = "InternalError.ExecHttpRequestError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError"
func (*Client) ModifyMigrateRuntimeAttributeWithContext ¶
func (c *Client) ModifyMigrateRuntimeAttributeWithContext(ctx context.Context, request *ModifyMigrateRuntimeAttributeRequest) (response *ModifyMigrateRuntimeAttributeResponse, err error)
ModifyMigrateRuntimeAttribute This API is used to modify task runtime attributes. This interface is different from the configuration class interface and does not perform state machine evaluation.
error code that may be returned:
FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_EXECHTTPREQUESTERROR = "InternalError.ExecHttpRequestError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError"
func (*Client) ModifyMigrationJob ¶
func (c *Client) ModifyMigrationJob(request *ModifyMigrationJobRequest) (response *ModifyMigrationJobResponse, err error)
ModifyMigrationJob This API is used to configure a migration task. After it is configured successfully, you can call the `CreateMigrationCheckJob` API to create a check task, and only after it passes the check can it be started.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" AUTHFAILURE_AUTHORIZEDOPERATIONDENYERROR = "AuthFailure.AuthorizedOperationDenyError" AUTHFAILURE_UNAUTHORIZEDOPERATIONERROR = "AuthFailure.UnauthorizedOperationError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ModifyMigrationJobWithContext ¶
func (c *Client) ModifyMigrationJobWithContext(ctx context.Context, request *ModifyMigrationJobRequest) (response *ModifyMigrationJobResponse, err error)
ModifyMigrationJob This API is used to configure a migration task. After it is configured successfully, you can call the `CreateMigrationCheckJob` API to create a check task, and only after it passes the check can it be started.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" AUTHFAILURE_AUTHORIZEDOPERATIONDENYERROR = "AuthFailure.AuthorizedOperationDenyError" AUTHFAILURE_UNAUTHORIZEDOPERATIONERROR = "AuthFailure.UnauthorizedOperationError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ModifySubscribeAutoRenewFlag ¶
func (c *Client) ModifySubscribeAutoRenewFlag(request *ModifySubscribeAutoRenewFlagRequest) (response *ModifySubscribeAutoRenewFlagResponse, err error)
ModifySubscribeAutoRenewFlag This API is used to modify the auto-renewal flag of your subscription instance. Only the monthly subscription modification task makes sense. After modifying, the pay-as-you-go task has no impact.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ModifySubscribeAutoRenewFlagWithContext ¶
func (c *Client) ModifySubscribeAutoRenewFlagWithContext(ctx context.Context, request *ModifySubscribeAutoRenewFlagRequest) (response *ModifySubscribeAutoRenewFlagResponse, err error)
ModifySubscribeAutoRenewFlag This API is used to modify the auto-renewal flag of your subscription instance. Only the monthly subscription modification task makes sense. After modifying, the pay-as-you-go task has no impact.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ModifySubscribeName ¶
func (c *Client) ModifySubscribeName(request *ModifySubscribeNameRequest) (response *ModifySubscribeNameResponse, err error)
ModifySubscribeName This API is used to modify the name of the data subscription instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ModifySubscribeNameWithContext ¶
func (c *Client) ModifySubscribeNameWithContext(ctx context.Context, request *ModifySubscribeNameRequest) (response *ModifySubscribeNameResponse, err error)
ModifySubscribeName This API is used to modify the name of the data subscription instance.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ModifySubscribeObjects ¶
func (c *Client) ModifySubscribeObjects(request *ModifySubscribeObjectsRequest) (response *ModifySubscribeObjectsResponse, err error)
ModifySubscribeObjects This API is used to modify the data subscription object and Kafka partition rule. For MongoDB subscription, you can also modify the output aggregation rule.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ModifySubscribeObjectsWithContext ¶
func (c *Client) ModifySubscribeObjectsWithContext(ctx context.Context, request *ModifySubscribeObjectsRequest) (response *ModifySubscribeObjectsResponse, err error)
ModifySubscribeObjects This API is used to modify the data subscription object and Kafka partition rule. For MongoDB subscription, you can also modify the output aggregation rule.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ModifySyncJobConfig ¶
func (c *Client) ModifySyncJobConfig(request *ModifySyncJobConfigRequest) (response *ModifySyncJobConfigResponse, err error)
ModifySyncJobConfig This API is used to modify the configuration of a data sync task after the task is started.\n Configuration modification steps: Modify sync task configuration -> Create a modification check task -> Query the check task result -> Start the configuration modification check task
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError"
func (*Client) ModifySyncJobConfigWithContext ¶
func (c *Client) ModifySyncJobConfigWithContext(ctx context.Context, request *ModifySyncJobConfigRequest) (response *ModifySyncJobConfigResponse, err error)
ModifySyncJobConfig This API is used to modify the configuration of a data sync task after the task is started.\n Configuration modification steps: Modify sync task configuration -> Create a modification check task -> Query the check task result -> Start the configuration modification check task
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError"
func (*Client) ModifySyncRateLimit ¶
func (c *Client) ModifySyncRateLimit(request *ModifySyncRateLimitRequest) (response *ModifySyncRateLimitResponse, err error)
ModifySyncRateLimit This API is used to restrict the rate limit of the task, when a user finds that the sync task has a large impact on the load of user's database.
error code that may be returned:
RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) ModifySyncRateLimitWithContext ¶
func (c *Client) ModifySyncRateLimitWithContext(ctx context.Context, request *ModifySyncRateLimitRequest) (response *ModifySyncRateLimitResponse, err error)
ModifySyncRateLimit This API is used to restrict the rate limit of the task, when a user finds that the sync task has a large impact on the load of user's database.
error code that may be returned:
RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) PauseMigrateJob ¶
func (c *Client) PauseMigrateJob(request *PauseMigrateJobRequest) (response *PauseMigrateJobResponse, err error)
PauseMigrateJob This API is used to pause a migration task.
error code that may be returned:
INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) PauseMigrateJobWithContext ¶
func (c *Client) PauseMigrateJobWithContext(ctx context.Context, request *PauseMigrateJobRequest) (response *PauseMigrateJobResponse, err error)
PauseMigrateJob This API is used to pause a migration task.
error code that may be returned:
INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) PauseSyncJob ¶
func (c *Client) PauseSyncJob(request *PauseSyncJobRequest) (response *PauseSyncJobResponse, err error)
PauseSyncJob This API is used to pause a data sync task.
error code that may be returned:
INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" OPERATIONDENIED_BIZOPERATIONDENIEDERROR = "OperationDenied.BizOperationDeniedError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_BIZRESOURCENOTFOUNDERROR = "ResourceNotFound.BizResourceNotFoundError" RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) PauseSyncJobWithContext ¶
func (c *Client) PauseSyncJobWithContext(ctx context.Context, request *PauseSyncJobRequest) (response *PauseSyncJobResponse, err error)
PauseSyncJob This API is used to pause a data sync task.
error code that may be returned:
INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" OPERATIONDENIED_BIZOPERATIONDENIEDERROR = "OperationDenied.BizOperationDeniedError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_BIZRESOURCENOTFOUNDERROR = "ResourceNotFound.BizResourceNotFoundError" RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) RecoverMigrateJob ¶
func (c *Client) RecoverMigrateJob(request *RecoverMigrateJobRequest) (response *RecoverMigrateJobResponse, err error)
RecoverMigrateJob This API is used to recover a data migration task in **Isolated** status. After calling this API, you can call the `DescribeMigrationJobs` API to query the latest task status.
error code that may be returned:
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) RecoverMigrateJobWithContext ¶
func (c *Client) RecoverMigrateJobWithContext(ctx context.Context, request *RecoverMigrateJobRequest) (response *RecoverMigrateJobResponse, err error)
RecoverMigrateJob This API is used to recover a data migration task in **Isolated** status. After calling this API, you can call the `DescribeMigrationJobs` API to query the latest task status.
error code that may be returned:
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) RecoverSyncJob ¶
func (c *Client) RecoverSyncJob(request *RecoverSyncJobRequest) (response *RecoverSyncJobResponse, err error)
RecoverSyncJob This API is used to recover a sync task in **Isolated** status. After calling this API, you can call the `DescribeSyncJobs` API to query the latest task status.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUE = "InvalidParameterValue.InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) RecoverSyncJobWithContext ¶
func (c *Client) RecoverSyncJobWithContext(ctx context.Context, request *RecoverSyncJobRequest) (response *RecoverSyncJobResponse, err error)
RecoverSyncJob This API is used to recover a sync task in **Isolated** status. After calling this API, you can call the `DescribeSyncJobs` API to query the latest task status.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUE = "InvalidParameterValue.InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ResetConsumerGroupOffset ¶
func (c *Client) ResetConsumerGroupOffset(request *ResetConsumerGroupOffsetRequest) (response *ResetConsumerGroupOffsetResponse, err error)
ResetConsumerGroupOffset This API is used to reset the offset of the subscription consumer group. Call the DescribeConsumerGroups API to query the status of the consumer group, only when the status is Dead or Empty can this operation be executed. Otherwise, the reset will not be effective and the API will not return any error.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ResetConsumerGroupOffsetWithContext ¶
func (c *Client) ResetConsumerGroupOffsetWithContext(ctx context.Context, request *ResetConsumerGroupOffsetRequest) (response *ResetConsumerGroupOffsetResponse, err error)
ResetConsumerGroupOffset This API is used to reset the offset of the subscription consumer group. Call the DescribeConsumerGroups API to query the status of the consumer group, only when the status is Dead or Empty can this operation be executed. Otherwise, the reset will not be effective and the API will not return any error.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ResetSubscribe ¶
func (c *Client) ResetSubscribe(request *ResetSubscribeRequest) (response *ResetSubscribeResponse, err error)
ResetSubscribe This API is used to reset the subscription instance. After resetting, the subscription task can be reconfigured.You can call DescribeSubscribeDetail to query the subscription information to determine whether the subscription is successful. When SubsStatus changes to notStarted, it means the reset is successful.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ResetSubscribeWithContext ¶
func (c *Client) ResetSubscribeWithContext(ctx context.Context, request *ResetSubscribeRequest) (response *ResetSubscribeResponse, err error)
ResetSubscribe This API is used to reset the subscription instance. After resetting, the subscription task can be reconfigured.You can call DescribeSubscribeDetail to query the subscription information to determine whether the subscription is successful. When SubsStatus changes to notStarted, it means the reset is successful.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ResizeSyncJob ¶
func (c *Client) ResizeSyncJob(request *ResizeSyncJobRequest) (response *ResizeSyncJobResponse, err error)
ResizeSyncJob This API is used to adjust the specification of a pay-as-you-go sync task. After this API is called, the backend needs to take about 3-5 minutes to implement the adjustment. You can call the `DescribeSyncJobs` API to query the latest task status.
error code that may be returned:
INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_INTERNALTRADEERROR = "InternalError.InternalTradeError" INTERNALERROR_NOTENOUGHMONEYERROR = "InternalError.NotEnoughMoneyError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ResizeSyncJobWithContext ¶
func (c *Client) ResizeSyncJobWithContext(ctx context.Context, request *ResizeSyncJobRequest) (response *ResizeSyncJobResponse, err error)
ResizeSyncJob This API is used to adjust the specification of a pay-as-you-go sync task. After this API is called, the backend needs to take about 3-5 minutes to implement the adjustment. You can call the `DescribeSyncJobs` API to query the latest task status.
error code that may be returned:
INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_INTERNALTRADEERROR = "InternalError.InternalTradeError" INTERNALERROR_NOTENOUGHMONEYERROR = "InternalError.NotEnoughMoneyError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ResumeMigrateJob ¶
func (c *Client) ResumeMigrateJob(request *ResumeMigrateJobRequest) (response *ResumeMigrateJobResponse, err error)
ResumeMigrateJob This API is used to retry an abnormal or failed Redis data migration task. Note that this operation will skip the check stage and directly start the task, just like by calling `StartMigrationJob`. After calling this API, you can call the `DescribeMigrationJobs` API to query the latest task status.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_NOTALLOWOPERATION = "FailedOperation.NotAllowOperation" INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError" INTERNALERROR_DUPLICATEJOB = "InternalError.DuplicateJob" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_PROTOCOLERROR = "InternalError.ProtocolError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUE = "InvalidParameterValue.InvalidParameterValue" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_JOBNOTEXIST = "ResourceNotFound.JobNotExist" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_NOTENOUGHPRIVILEGES = "UnauthorizedOperation.NotEnoughPrivileges" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ResumeMigrateJobWithContext ¶
func (c *Client) ResumeMigrateJobWithContext(ctx context.Context, request *ResumeMigrateJobRequest) (response *ResumeMigrateJobResponse, err error)
ResumeMigrateJob This API is used to retry an abnormal or failed Redis data migration task. Note that this operation will skip the check stage and directly start the task, just like by calling `StartMigrationJob`. After calling this API, you can call the `DescribeMigrationJobs` API to query the latest task status.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_NOTALLOWOPERATION = "FailedOperation.NotAllowOperation" INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError" INTERNALERROR_DUPLICATEJOB = "InternalError.DuplicateJob" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_PROTOCOLERROR = "InternalError.ProtocolError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUE = "InvalidParameterValue.InvalidParameterValue" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_JOBNOTEXIST = "ResourceNotFound.JobNotExist" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_NOTENOUGHPRIVILEGES = "UnauthorizedOperation.NotEnoughPrivileges" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ResumeSubscribe ¶
func (c *Client) ResumeSubscribe(request *ResumeSubscribeRequest) (response *ResumeSubscribeResponse, err error)
ResumeSubscribe This API is used to resume faulty subscription tasks. When the status of the subscription task is set to error, you can resume task via this API.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ResumeSubscribeWithContext ¶
func (c *Client) ResumeSubscribeWithContext(ctx context.Context, request *ResumeSubscribeRequest) (response *ResumeSubscribeResponse, err error)
ResumeSubscribe This API is used to resume faulty subscription tasks. When the status of the subscription task is set to error, you can resume task via this API.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ResumeSyncJob ¶
func (c *Client) ResumeSyncJob(request *ResumeSyncJobRequest) (response *ResumeSyncJobResponse, err error)
ResumeSyncJob This API is used to retry a sync task after certain resolvable errors are reported. After calling this API, you can call the `DescribeSyncJobs` API to query the latest task status.
error code that may be returned:
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
func (*Client) ResumeSyncJobWithContext ¶
func (c *Client) ResumeSyncJobWithContext(ctx context.Context, request *ResumeSyncJobRequest) (response *ResumeSyncJobResponse, err error)
ResumeSyncJob This API is used to retry a sync task after certain resolvable errors are reported. After calling this API, you can call the `DescribeSyncJobs` API to query the latest task status.
error code that may be returned:
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
func (*Client) SkipCheckItem ¶
func (c *Client) SkipCheckItem(request *SkipCheckItemRequest) (response *SkipCheckItemResponse, err error)
SkipCheckItem This API is used for the backend to skip a failed check item. Theoretically, to execute a migration task normally, any check step cannot be skipped, and the check must be passed. For products or links that support check item skipping, see [Check Item Overview](https://www.tencentcloud.com/document/product/571/42551).
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) SkipCheckItemWithContext ¶
func (c *Client) SkipCheckItemWithContext(ctx context.Context, request *SkipCheckItemRequest) (response *SkipCheckItemResponse, err error)
SkipCheckItem This API is used for the backend to skip a failed check item. Theoretically, to execute a migration task normally, any check step cannot be skipped, and the check must be passed. For products or links that support check item skipping, see [Check Item Overview](https://www.tencentcloud.com/document/product/571/42551).
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) SkipSyncCheckItem ¶
func (c *Client) SkipSyncCheckItem(request *SkipSyncCheckItemRequest) (response *SkipSyncCheckItemResponse, err error)
SkipSyncCheckItem This API is used for the backend to skip a failed check item. Theoretically, to execute a sync task normally, any check step cannot be skipped, and the check must be passed. For products or links that support check item skipping, see [Check Item Overview](https://www.tencentcloud.com/document/product/571/42551).
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) SkipSyncCheckItemWithContext ¶
func (c *Client) SkipSyncCheckItemWithContext(ctx context.Context, request *SkipSyncCheckItemRequest) (response *SkipSyncCheckItemResponse, err error)
SkipSyncCheckItem This API is used for the backend to skip a failed check item. Theoretically, to execute a sync task normally, any check step cannot be skipped, and the check must be passed. For products or links that support check item skipping, see [Check Item Overview](https://www.tencentcloud.com/document/product/571/42551).
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) StartCompare ¶
func (c *Client) StartCompare(request *StartCompareRequest) (response *StartCompareResponse, err error)
StartCompare This API is used to start a data consistency check task after creating it by calling the `CreateCompareTask` API. After calling this API, you can call the `DescribeCompareTasks` API to query the latest task status.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) StartCompareWithContext ¶
func (c *Client) StartCompareWithContext(ctx context.Context, request *StartCompareRequest) (response *StartCompareResponse, err error)
StartCompare This API is used to start a data consistency check task after creating it by calling the `CreateCompareTask` API. After calling this API, you can call the `DescribeCompareTasks` API to query the latest task status.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) StartMigrateJob ¶
func (c *Client) StartMigrateJob(request *StartMigrateJobRequest) (response *StartMigrateJobResponse, err error)
StartMigrateJob This API (`StartMigrationJob`) is used to start a migration task. After calling this API, you can call the `DescribeMigrationJobs` API to query the latest task status.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_NOTALLOWOPERATION = "FailedOperation.NotAllowOperation" FAILEDOPERATION_STARTJOBFAILED = "FailedOperation.StartJobFailed" FAILEDOPERATION_STATUSINCONFLICT = "FailedOperation.StatusInConflict" INTERNALERROR_ADDTASKERROR = "InternalError.AddTaskError" INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError" INTERNALERROR_DUPLICATEJOB = "InternalError.DuplicateJob" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_INTERNALINNERCOMMONERROR = "InternalError.InternalInnerCommonError" INTERNALERROR_LOCKERROR = "InternalError.LockError" INTERNALERROR_PROTOCOLERROR = "InternalError.ProtocolError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" LIMITEXCEEDED_MAXUNUSEDJOBS = "LimitExceeded.MaxUnusedJobs" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_BIZOPERATIONDENIEDERROR = "OperationDenied.BizOperationDeniedError" OPERATIONDENIED_JOBOPERATIONDENIEDERROR = "OperationDenied.JobOperationDeniedError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_JOBNOTEXIST = "ResourceNotFound.JobNotExist" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_NOTENOUGHPRIVILEGES = "UnauthorizedOperation.NotEnoughPrivileges" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) StartMigrateJobWithContext ¶
func (c *Client) StartMigrateJobWithContext(ctx context.Context, request *StartMigrateJobRequest) (response *StartMigrateJobResponse, err error)
StartMigrateJob This API (`StartMigrationJob`) is used to start a migration task. After calling this API, you can call the `DescribeMigrationJobs` API to query the latest task status.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_NOTALLOWOPERATION = "FailedOperation.NotAllowOperation" FAILEDOPERATION_STARTJOBFAILED = "FailedOperation.StartJobFailed" FAILEDOPERATION_STATUSINCONFLICT = "FailedOperation.StatusInConflict" INTERNALERROR_ADDTASKERROR = "InternalError.AddTaskError" INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError" INTERNALERROR_DUPLICATEJOB = "InternalError.DuplicateJob" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_INTERNALINNERCOMMONERROR = "InternalError.InternalInnerCommonError" INTERNALERROR_LOCKERROR = "InternalError.LockError" INTERNALERROR_PROTOCOLERROR = "InternalError.ProtocolError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" LIMITEXCEEDED_MAXUNUSEDJOBS = "LimitExceeded.MaxUnusedJobs" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_BIZOPERATIONDENIEDERROR = "OperationDenied.BizOperationDeniedError" OPERATIONDENIED_JOBOPERATIONDENIEDERROR = "OperationDenied.JobOperationDeniedError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_JOBNOTEXIST = "ResourceNotFound.JobNotExist" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_NOTENOUGHPRIVILEGES = "UnauthorizedOperation.NotEnoughPrivileges" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) StartModifySyncJob ¶
func (c *Client) StartModifySyncJob(request *StartModifySyncJobRequest) (response *StartModifySyncJobResponse, err error)
StartModifySyncJob This API is used to start the configuration modification process when the modification check task status becomes “success”.
error code that may be returned:
INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) StartModifySyncJobWithContext ¶
func (c *Client) StartModifySyncJobWithContext(ctx context.Context, request *StartModifySyncJobRequest) (response *StartModifySyncJobResponse, err error)
StartModifySyncJob This API is used to start the configuration modification process when the modification check task status becomes “success”.
error code that may be returned:
INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) StartSubscribe ¶
func (c *Client) StartSubscribe(request *StartSubscribeRequest) (response *StartSubscribeResponse, err error)
StartSubscribe This API is used to start a Kafka version of the data subscription instance. This interface can be called only when the status of the subscription task is checkPass.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) StartSubscribeWithContext ¶
func (c *Client) StartSubscribeWithContext(ctx context.Context, request *StartSubscribeRequest) (response *StartSubscribeResponse, err error)
StartSubscribe This API is used to start a Kafka version of the data subscription instance. This interface can be called only when the status of the subscription task is checkPass.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNSUPPORTEDOPERATION = "UnsupportedOperation" 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" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) StartSyncJobWithContext ¶
func (c *Client) StartSyncJobWithContext(ctx context.Context, request *StartSyncJobRequest) (response *StartSyncJobResponse, err error)
StartSyncJob This API is used to start a sync task.
error code that may be returned:
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" OPERATIONDENIED_BIZOPERATIONDENIEDERROR = "OperationDenied.BizOperationDeniedError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) StopCompare ¶
func (c *Client) StopCompare(request *StopCompareRequest) (response *StopCompareResponse, err error)
StopCompare This API is used to stop a data consistency check task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) StopCompareWithContext ¶
func (c *Client) StopCompareWithContext(ctx context.Context, request *StopCompareRequest) (response *StopCompareResponse, err error)
StopCompare This API is used to stop a data consistency check task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) StopMigrateJob ¶
func (c *Client) StopMigrateJob(request *StopMigrateJobRequest) (response *StopMigrateJobResponse, err error)
StopMigrateJob This API is used to stop a data migration task.
After calling this API, you can call the `DescribeMigrationJobs` API to query the latest task status.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_NOTALLOWOPERATION = "FailedOperation.NotAllowOperation" FAILEDOPERATION_STATUSINCONFLICT = "FailedOperation.StatusInConflict" INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError" INTERNALERROR_DUPLICATEJOB = "InternalError.DuplicateJob" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_PROTOCOLERROR = "InternalError.ProtocolError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" OPERATIONDENIED_JOBOPERATIONDENIEDERROR = "OperationDenied.JobOperationDeniedError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_JOBNOTEXIST = "ResourceNotFound.JobNotExist" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_NOTENOUGHPRIVILEGES = "UnauthorizedOperation.NotEnoughPrivileges" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) StopMigrateJobWithContext ¶
func (c *Client) StopMigrateJobWithContext(ctx context.Context, request *StopMigrateJobRequest) (response *StopMigrateJobResponse, err error)
StopMigrateJob This API is used to stop a data migration task.
After calling this API, you can call the `DescribeMigrationJobs` API to query the latest task status.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_NOTALLOWOPERATION = "FailedOperation.NotAllowOperation" FAILEDOPERATION_STATUSINCONFLICT = "FailedOperation.StatusInConflict" INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError" INTERNALERROR_DUPLICATEJOB = "InternalError.DuplicateJob" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_PROTOCOLERROR = "InternalError.ProtocolError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" OPERATIONDENIED_JOBOPERATIONDENIEDERROR = "OperationDenied.JobOperationDeniedError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_JOBNOTEXIST = "ResourceNotFound.JobNotExist" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_NOTENOUGHPRIVILEGES = "UnauthorizedOperation.NotEnoughPrivileges" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) StopSyncJob ¶
func (c *Client) StopSyncJob(request *StopSyncJobRequest) (response *StopSyncJobResponse, err error)
StopSyncJob This API is used to stop a sync task. After calling this API, you can call the `DescribeSyncJobs` API to query the latest task status.
error code that may be returned:
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) StopSyncJobWithContext ¶
func (c *Client) StopSyncJobWithContext(ctx context.Context, request *StopSyncJobRequest) (response *StopSyncJobResponse, err error)
StopSyncJob This API is used to stop a sync task. After calling this API, you can call the `DescribeSyncJobs` API to query the latest task status.
error code that may be returned:
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
type Column ¶
type Column struct { // Column nameNote: This field may return null, indicating that no valid values can be obtained. ColumnName *string `json:"ColumnName,omitnil,omitempty" name:"ColumnName"` // New column name // Note: This field may return null, indicating that no valid values can be obtained. NewColumnName *string `json:"NewColumnName,omitnil,omitempty" name:"NewColumnName"` }
type CompareAbstractInfo ¶
type CompareAbstractInfo struct { // Configuration parameters of the check task // Note: This field may return null, indicating that no valid values can be obtained. Options *CompareOptions `json:"Options,omitnil,omitempty" name:"Options"` // Consistency check objects // Note: This field may return null, indicating that no valid values can be obtained. Objects *CompareObject `json:"Objects,omitnil,omitempty" name:"Objects"` // Comparison conclusion. Valid values: `same`, `different`. // Note: This field may return null, indicating that no valid values can be obtained. Conclusion *string `json:"Conclusion,omitnil,omitempty" name:"Conclusion"` // Task status. Valid values: `success`, `failed`. // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Total number of tables // Note: This field may return null, indicating that no valid values can be obtained. TotalTables *uint64 `json:"TotalTables,omitnil,omitempty" name:"TotalTables"` // Number of checked tables // Note: This field may return null, indicating that no valid values can be obtained. CheckedTables *uint64 `json:"CheckedTables,omitnil,omitempty" name:"CheckedTables"` // Number of inconsistent tables // Note: This field may return null, indicating that no valid values can be obtained. DifferentTables *uint64 `json:"DifferentTables,omitnil,omitempty" name:"DifferentTables"` // Number of skipped tables // Note: This field may return null, indicating that no valid values can be obtained. SkippedTables *uint64 `json:"SkippedTables,omitnil,omitempty" name:"SkippedTables"` // The estimated number of tables // Note: This field may return null, indicating that no valid values can be obtained. NearlyTableCount *uint64 `json:"NearlyTableCount,omitnil,omitempty" name:"NearlyTableCount"` // Number of inconsistent data rows // Note: This field may return null, indicating that no valid values can be obtained. DifferentRows *uint64 `json:"DifferentRows,omitnil,omitempty" name:"DifferentRows"` // Source database row count, which takes effect only when the comparison type is **Row count comparison**. // Note: This field may return null, indicating that no valid values can be obtained. SrcSampleRows *uint64 `json:"SrcSampleRows,omitnil,omitempty" name:"SrcSampleRows"` // Target database row count, which takes effect only when the comparison type is **Row count comparison**. // Note: This field may return null, indicating that no valid values can be obtained. DstSampleRows *uint64 `json:"DstSampleRows,omitnil,omitempty" name:"DstSampleRows"` // Start time // Note: This field may return null, indicating that no valid values can be obtained. StartedAt *string `json:"StartedAt,omitnil,omitempty" name:"StartedAt"` // End time // Note: This field may return null, indicating that no valid values can be obtained. FinishedAt *string `json:"FinishedAt,omitnil,omitempty" name:"FinishedAt"` }
type CompareColumnItem ¶
type CompareColumnItem struct { // Column nameNote: This field may return null, indicating that no valid values can be obtained. ColumnName *string `json:"ColumnName,omitnil,omitempty" name:"ColumnName"` }
type CompareDetailInfo ¶
type CompareDetailInfo struct { // Details of inconsistent tables // Note: This field may return null, indicating that no valid values can be obtained. Difference *DifferenceDetail `json:"Difference,omitnil,omitempty" name:"Difference"` // Details of skipped tables // Note: This field may return null, indicating that no valid values can be obtained. Skipped *SkippedDetail `json:"Skipped,omitnil,omitempty" name:"Skipped"` }
type CompareObject ¶
type CompareObject struct { // Data comparison object mode (`all`: Entire instance; `partial`: Some objects) // Note: This field may return null, indicating that no valid values can be obtained. ObjectMode *string `json:"ObjectMode,omitnil,omitempty" name:"ObjectMode"` // Object list // Note: This field may return null, indicating that no valid values can be obtained. ObjectItems []*CompareObjectItem `json:"ObjectItems,omitnil,omitempty" name:"ObjectItems"` // Advanced object types, such as account, index, shardkey, schema.Note: This field may return null, indicating that no valid values can be obtained. AdvancedObjects []*string `json:"AdvancedObjects,omitnil,omitempty" name:"AdvancedObjects"` }
type CompareObjectItem ¶
type CompareObjectItem struct { // Database name // Note: This field may return null, indicating that no valid values can be obtained. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Database selection mode. Valid values: `all`, `partial`. // Note: This field may return null, indicating that no valid values can be obtained. DbMode *string `json:"DbMode,omitnil,omitempty" name:"DbMode"` // Schema name // Note: This field may return null, indicating that no valid values can be obtained. SchemaName *string `json:"SchemaName,omitnil,omitempty" name:"SchemaName"` // Schema selection mode. Valid values: `all`, `partial`. // Note: This field may return null, indicating that no valid values can be obtained. TableMode *string `json:"TableMode,omitnil,omitempty" name:"TableMode"` // Table configuration for data consistency check, which is required if `TableMode` is `partial`. // Note: This field may return null, indicating that no valid values can be obtained. Tables []*CompareTableItem `json:"Tables,omitnil,omitempty" name:"Tables"` // View selection mode: all refers to all view objects under the current object, partial refers to partial view objects (consistency check does not check views, and the current parameters are disabled).Note: This field may return null, indicating that no valid values can be obtained. ViewMode *string `json:"ViewMode,omitnil,omitempty" name:"ViewMode"` // View configuration used for consistency check. When ViewMode is partial, it needs to be filled in (consistency check does not check views, and the current parameters are disabled).Note: This field may return null, indicating that no valid values can be obtained. Views []*CompareViewItem `json:"Views,omitnil,omitempty" name:"Views"` }
type CompareOptions ¶
type CompareOptions struct { // Comparative Method: dataCheck (Complete Data Comparison), sampleDataCheck (Sampling Data Comparison), rowsCount (Row Count Comparison)Note: This field may return null, indicating that no valid value can be obtained. Method *string `json:"Method,omitnil,omitempty" name:"Method"` // Sampling rate. Value range: 0-100%. // Note: This field may return null, indicating that no valid values can be obtained. SampleRate *int64 `json:"SampleRate,omitnil,omitempty" name:"SampleRate"` // The number of threads, which defaults to 1. Value range: 1-5. // Note: This field may return null, indicating that no valid values can be obtained. ThreadCount *int64 `json:"ThreadCount,omitnil,omitempty" name:"ThreadCount"` }
type CompareTableItem ¶
type CompareTableItem struct { // Table name // Note: This field may return null, indicating that no valid values can be obtained. TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"` // In column mode, all refers to all data, while partial refers to part of the data (this parameter is only valid for data sync tasks).Note: This field may return null, indicating that no valid values can be obtained. ColumnMode *string `json:"ColumnMode,omitnil,omitempty" name:"ColumnMode"` // This field is required when ColumnMode is set to partial (this parameter is only valid for data sync tasks).Note: This field may return null, indicating that no valid values can be obtained. Columns []*CompareColumnItem `json:"Columns,omitnil,omitempty" name:"Columns"` }
type CompareTaskInfo ¶
type CompareTaskInfo struct { // Data consistency check task ID // Note: This field may return null, indicating that no valid values can be obtained. CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` // Data consistency check result. Valid values: `unstart` (the task is not started); `running` (the task is running); `canceled` (the task is stopped); `failed` (the task failed); `inconsistent` (the data is inconsistent); `consistent` (the data is consistent); `notexist` (the task does not exist). // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` }
type CompareTaskItem ¶
type CompareTaskItem struct { // Task ID // Note: This field may return null, indicating that no valid values can be obtained. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data consistency check task ID // Note: This field may return null, indicating that no valid values can be obtained. CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` // Data consistency check task name // Note: This field may return null, indicating that no valid values can be obtained. TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` // Data consistency check task status. Valid values: `created`, `readyRun`, `running`, `success`, `stopping`, `failed`, `canceled`. // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Data consistency check task configuration // Note: This field may return null, indicating that no valid values can be obtained. Config *CompareObject `json:"Config,omitnil,omitempty" name:"Config"` // Check details of the data consistency check task // Note: This field may return null, indicating that no valid values can be obtained. CheckProcess *ProcessProgress `json:"CheckProcess,omitnil,omitempty" name:"CheckProcess"` // Running details of the data consistency check task // Note: This field may return null, indicating that no valid values can be obtained. CompareProcess *ProcessProgress `json:"CompareProcess,omitnil,omitempty" name:"CompareProcess"` // Comparison result. Valid values: `same`, `different`, `skipAll`. // Note: This field may return null, indicating that no valid values can be obtained. Conclusion *string `json:"Conclusion,omitnil,omitempty" name:"Conclusion"` // Task creation time // Note: This field may return null, indicating that no valid values can be obtained. CreatedAt *string `json:"CreatedAt,omitnil,omitempty" name:"CreatedAt"` // Task start time // Note: This field may return null, indicating that no valid values can be obtained. StartedAt *string `json:"StartedAt,omitnil,omitempty" name:"StartedAt"` // Comparison end time // Note: This field may return null, indicating that no valid values can be obtained. FinishedAt *string `json:"FinishedAt,omitnil,omitempty" name:"FinishedAt"` // Comparison type: (`dataCheck`: Full data comparison; `sampleDataCheck`: Sampling data comparison; `rowsCount`: Row count comparison) // Note: This field may return null, indicating that no valid values can be obtained. Method *string `json:"Method,omitnil,omitempty" name:"Method"` // Configuration information of the comparison task // Note: This field may return null, indicating that no valid values can be obtained. Options *CompareOptions `json:"Options,omitnil,omitempty" name:"Options"` // Consistency check prompt message // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` }
type CompareViewItem ¶
type CompareViewItem struct { // View name // Note: This field may return null, indicating that no valid values can be obtained. ViewName *string `json:"ViewName,omitnil,omitempty" name:"ViewName"` }
type CompleteMigrateJobRequest ¶
type CompleteMigrateJobRequest struct { *tchttp.BaseRequest // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // The way to complete the task, which is supported only for legacy MySQL migration tasks. Valid values: `waitForSync` (wait for the source-replica lag to become 0 before stopping); `immediately` (complete immediately without waiting for source-replica sync). Default value: `waitForSync`. CompleteMode *string `json:"CompleteMode,omitnil,omitempty" name:"CompleteMode"` }
func NewCompleteMigrateJobRequest ¶
func NewCompleteMigrateJobRequest() (request *CompleteMigrateJobRequest)
func (*CompleteMigrateJobRequest) FromJsonString ¶
func (r *CompleteMigrateJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CompleteMigrateJobRequest) ToJsonString ¶
func (r *CompleteMigrateJobRequest) ToJsonString() string
type CompleteMigrateJobRequestParams ¶
type CompleteMigrateJobRequestParams struct { // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // The way to complete the task, which is supported only for legacy MySQL migration tasks. Valid values: `waitForSync` (wait for the source-replica lag to become 0 before stopping); `immediately` (complete immediately without waiting for source-replica sync). Default value: `waitForSync`. CompleteMode *string `json:"CompleteMode,omitnil,omitempty" name:"CompleteMode"` }
Predefined struct for user
type CompleteMigrateJobResponse ¶
type CompleteMigrateJobResponse struct { *tchttp.BaseResponse Response *CompleteMigrateJobResponseParams `json:"Response"` }
func NewCompleteMigrateJobResponse ¶
func NewCompleteMigrateJobResponse() (response *CompleteMigrateJobResponse)
func (*CompleteMigrateJobResponse) FromJsonString ¶
func (r *CompleteMigrateJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CompleteMigrateJobResponse) ToJsonString ¶
func (r *CompleteMigrateJobResponse) ToJsonString() string
type CompleteMigrateJobResponseParams ¶
type CompleteMigrateJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ConfigureSubscribeJobRequest ¶
type ConfigureSubscribeJobRequest struct { *tchttp.BaseRequest // Data subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` // Data subscription type. Valid values for non-mongo DatabaseType: all (full instance update); dml (data update); ddl (structure update); dmlAndDdl (data + structure update). Valid values for mongo DatabaseType: all (full instance update); database (subscribe to a table); collection (subscribe to a collection). SubscribeMode *string `json:"SubscribeMode,omitnil,omitempty" name:"SubscribeMode"` // Source database access type. Valid values: extranet (public network); vpncloud (VPN access); dcg (Direct Connect); ccn (CCN); cdb (database); cvm (self-build on CVM); intranet (intranet); vpc (VPC). Note: The specific optional values depend on the current link support capabilities. AccessType *string `json:"AccessType,omitnil,omitempty" name:"AccessType"` // Database node information Endpoints []*EndpointItem `json:"Endpoints,omitnil,omitempty" name:"Endpoints"` // Kafka configuration KafkaConfig *SubscribeKafkaConfig `json:"KafkaConfig,omitnil,omitempty" name:"KafkaConfig"` // Subscription database table information. When SubscribeMode is not all or ddl, SubscribeObjects is a required parameter. SubscribeObjects []*SubscribeObject `json:"SubscribeObjects,omitnil,omitempty" name:"SubscribeObjects"` // Subscription data format, such as: protobuf, json, avro. Note: The specific optional values depend on the current link support capabilities. For details on the data format, please refer to the consumption demo documentation on the official website. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // mongo optional parameter: output aggregation settings. PipelineInfo []*PipelineInfo `json:"PipelineInfo,omitnil,omitempty" name:"PipelineInfo"` // Additional information added for the business. The parameter name is called key, and the parameter value is called value.Optional parameters for mysql: ProcessXA. If true is filled in, it will be processed. If it is left blank or filled with other values, it will not be processed.Optional parameters for mongo: SubscribeType. Currently only changeStream is supported. If not filled in, the default is changeStream.Other businesses currently have no optional parameters. ExtraAttr []*KeyValuePairOption `json:"ExtraAttr,omitnil,omitempty" name:"ExtraAttr"` }
func NewConfigureSubscribeJobRequest ¶
func NewConfigureSubscribeJobRequest() (request *ConfigureSubscribeJobRequest)
func (*ConfigureSubscribeJobRequest) FromJsonString ¶
func (r *ConfigureSubscribeJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ConfigureSubscribeJobRequest) ToJsonString ¶
func (r *ConfigureSubscribeJobRequest) ToJsonString() string
type ConfigureSubscribeJobRequestParams ¶
type ConfigureSubscribeJobRequestParams struct { // Data subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` // Data subscription type. Valid values for non-mongo DatabaseType: all (full instance update); dml (data update); ddl (structure update); dmlAndDdl (data + structure update). Valid values for mongo DatabaseType: all (full instance update); database (subscribe to a table); collection (subscribe to a collection). SubscribeMode *string `json:"SubscribeMode,omitnil,omitempty" name:"SubscribeMode"` // Source database access type. Valid values: extranet (public network); vpncloud (VPN access); dcg (Direct Connect); ccn (CCN); cdb (database); cvm (self-build on CVM); intranet (intranet); vpc (VPC). Note: The specific optional values depend on the current link support capabilities. AccessType *string `json:"AccessType,omitnil,omitempty" name:"AccessType"` // Database node information Endpoints []*EndpointItem `json:"Endpoints,omitnil,omitempty" name:"Endpoints"` // Kafka configuration KafkaConfig *SubscribeKafkaConfig `json:"KafkaConfig,omitnil,omitempty" name:"KafkaConfig"` // Subscription database table information. When SubscribeMode is not all or ddl, SubscribeObjects is a required parameter. SubscribeObjects []*SubscribeObject `json:"SubscribeObjects,omitnil,omitempty" name:"SubscribeObjects"` // Subscription data format, such as: protobuf, json, avro. Note: The specific optional values depend on the current link support capabilities. For details on the data format, please refer to the consumption demo documentation on the official website. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // mongo optional parameter: output aggregation settings. PipelineInfo []*PipelineInfo `json:"PipelineInfo,omitnil,omitempty" name:"PipelineInfo"` // Additional information added for the business. The parameter name is called key, and the parameter value is called value.Optional parameters for mysql: ProcessXA. If true is filled in, it will be processed. If it is left blank or filled with other values, it will not be processed.Optional parameters for mongo: SubscribeType. Currently only changeStream is supported. If not filled in, the default is changeStream.Other businesses currently have no optional parameters. ExtraAttr []*KeyValuePairOption `json:"ExtraAttr,omitnil,omitempty" name:"ExtraAttr"` }
Predefined struct for user
type ConfigureSubscribeJobResponse ¶
type ConfigureSubscribeJobResponse struct { *tchttp.BaseResponse Response *ConfigureSubscribeJobResponseParams `json:"Response"` }
func NewConfigureSubscribeJobResponse ¶
func NewConfigureSubscribeJobResponse() (response *ConfigureSubscribeJobResponse)
func (*ConfigureSubscribeJobResponse) FromJsonString ¶
func (r *ConfigureSubscribeJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ConfigureSubscribeJobResponse) ToJsonString ¶
func (r *ConfigureSubscribeJobResponse) ToJsonString() string
type ConfigureSubscribeJobResponseParams ¶
type ConfigureSubscribeJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ConfigureSyncJobRequest ¶
type ConfigureSyncJobRequest struct { *tchttp.BaseRequest // Sync task instance ID in the format of `sync-werwfs23`, which is used to identify a sync task. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Source database access type. Valid values: `cdb` (database); `cvm` (self-build on CVM); `vpc` (VPC); `extranet` (public network); `vpncloud` (VPN access); `dcg` (Direct Connect); `ccn` (CCN); `intranet` (intranet). Note that the valid values are subject to the current link. SrcAccessType *string `json:"SrcAccessType,omitnil,omitempty" name:"SrcAccessType"` // Target database access type. Valid values: `cdb` (database); `cvm` (self-build on CVM); `vpc` (VPC); `extranet` (public network); `vpncloud` (VPN access); `dcg` (Direct Connect); `ccn` (CCN); `intranet` (intranet); `ckafka` (CKafka instance). Note that the valid values are subject to the current link. DstAccessType *string `json:"DstAccessType,omitnil,omitempty" name:"DstAccessType"` // Information of synced database/table objects Objects *Objects `json:"Objects,omitnil,omitempty" name:"Objects"` // Sync task name JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // Enumerated values: `liteMode`: Lite mode; `fullMode`: Standard mode JobMode *string `json:"JobMode,omitnil,omitempty" name:"JobMode"` // Running mode. Valid values: `Immediate`, `Timed`. Default value: `Immediate`. RunMode *string `json:"RunMode,omitnil,omitempty" name:"RunMode"` // Expected start time in the format of "2006-01-02 15:04:05", which is required if `RunMode` is `Timed`. ExpectRunTime *string `json:"ExpectRunTime,omitnil,omitempty" name:"ExpectRunTime"` // Source database information. This parameter only applies to single-node databases, and `SrcNodeType` must be `single`. SrcInfo *Endpoint `json:"SrcInfo,omitnil,omitempty" name:"SrcInfo"` // Source database information. This parameter is valid for multi-node databases, and the value of `SrcNodeType` must be `cluster`. SrcInfos *SyncDBEndpointInfos `json:"SrcInfos,omitnil,omitempty" name:"SrcInfos"` // Enumerated values: `single` (for single-node source database), `cluster` (for multi-node source database). SrcNodeType *string `json:"SrcNodeType,omitnil,omitempty" name:"SrcNodeType"` // Target database information. This parameter is used by single-node databases. DstInfo *Endpoint `json:"DstInfo,omitnil,omitempty" name:"DstInfo"` // Target database information. This parameter is valid for multi-node databases, and the value of `DstNodeType` must be `cluster`. DstInfos *SyncDBEndpointInfos `json:"DstInfos,omitnil,omitempty" name:"DstInfos"` // Enumerated values: `single` (for single-node target database), `cluster` (for multi-node target database). DstNodeType *string `json:"DstNodeType,omitnil,omitempty" name:"DstNodeType"` // Sync task options. The `RateLimitOption` option cannot take effect currently. To modify the speed limit settings, use the `ModifySyncRateLimit` API. Options *Options `json:"Options,omitnil,omitempty" name:"Options"` // Automatic retry time, which can be set to 5-720 minutes. 0 indicates that retry is disabled. AutoRetryTimeRangeMinutes *int64 `json:"AutoRetryTimeRangeMinutes,omitnil,omitempty" name:"AutoRetryTimeRangeMinutes"` }
func NewConfigureSyncJobRequest ¶
func NewConfigureSyncJobRequest() (request *ConfigureSyncJobRequest)
func (*ConfigureSyncJobRequest) FromJsonString ¶
func (r *ConfigureSyncJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ConfigureSyncJobRequest) ToJsonString ¶
func (r *ConfigureSyncJobRequest) ToJsonString() string
type ConfigureSyncJobRequestParams ¶
type ConfigureSyncJobRequestParams struct { // Sync task instance ID in the format of `sync-werwfs23`, which is used to identify a sync task. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Source database access type. Valid values: `cdb` (database); `cvm` (self-build on CVM); `vpc` (VPC); `extranet` (public network); `vpncloud` (VPN access); `dcg` (Direct Connect); `ccn` (CCN); `intranet` (intranet). Note that the valid values are subject to the current link. SrcAccessType *string `json:"SrcAccessType,omitnil,omitempty" name:"SrcAccessType"` // Target database access type. Valid values: `cdb` (database); `cvm` (self-build on CVM); `vpc` (VPC); `extranet` (public network); `vpncloud` (VPN access); `dcg` (Direct Connect); `ccn` (CCN); `intranet` (intranet); `ckafka` (CKafka instance). Note that the valid values are subject to the current link. DstAccessType *string `json:"DstAccessType,omitnil,omitempty" name:"DstAccessType"` // Information of synced database/table objects Objects *Objects `json:"Objects,omitnil,omitempty" name:"Objects"` // Sync task name JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // Enumerated values: `liteMode`: Lite mode; `fullMode`: Standard mode JobMode *string `json:"JobMode,omitnil,omitempty" name:"JobMode"` // Running mode. Valid values: `Immediate`, `Timed`. Default value: `Immediate`. RunMode *string `json:"RunMode,omitnil,omitempty" name:"RunMode"` // Expected start time in the format of "2006-01-02 15:04:05", which is required if `RunMode` is `Timed`. ExpectRunTime *string `json:"ExpectRunTime,omitnil,omitempty" name:"ExpectRunTime"` // Source database information. This parameter only applies to single-node databases, and `SrcNodeType` must be `single`. SrcInfo *Endpoint `json:"SrcInfo,omitnil,omitempty" name:"SrcInfo"` // Source database information. This parameter is valid for multi-node databases, and the value of `SrcNodeType` must be `cluster`. SrcInfos *SyncDBEndpointInfos `json:"SrcInfos,omitnil,omitempty" name:"SrcInfos"` // Enumerated values: `single` (for single-node source database), `cluster` (for multi-node source database). SrcNodeType *string `json:"SrcNodeType,omitnil,omitempty" name:"SrcNodeType"` // Target database information. This parameter is used by single-node databases. DstInfo *Endpoint `json:"DstInfo,omitnil,omitempty" name:"DstInfo"` // Target database information. This parameter is valid for multi-node databases, and the value of `DstNodeType` must be `cluster`. DstInfos *SyncDBEndpointInfos `json:"DstInfos,omitnil,omitempty" name:"DstInfos"` // Enumerated values: `single` (for single-node target database), `cluster` (for multi-node target database). DstNodeType *string `json:"DstNodeType,omitnil,omitempty" name:"DstNodeType"` // Sync task options. The `RateLimitOption` option cannot take effect currently. To modify the speed limit settings, use the `ModifySyncRateLimit` API. Options *Options `json:"Options,omitnil,omitempty" name:"Options"` // Automatic retry time, which can be set to 5-720 minutes. 0 indicates that retry is disabled. AutoRetryTimeRangeMinutes *int64 `json:"AutoRetryTimeRangeMinutes,omitnil,omitempty" name:"AutoRetryTimeRangeMinutes"` }
Predefined struct for user
type ConfigureSyncJobResponse ¶
type ConfigureSyncJobResponse struct { *tchttp.BaseResponse Response *ConfigureSyncJobResponseParams `json:"Response"` }
func NewConfigureSyncJobResponse ¶
func NewConfigureSyncJobResponse() (response *ConfigureSyncJobResponse)
func (*ConfigureSyncJobResponse) FromJsonString ¶
func (r *ConfigureSyncJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ConfigureSyncJobResponse) ToJsonString ¶
func (r *ConfigureSyncJobResponse) ToJsonString() string
type ConfigureSyncJobResponseParams ¶
type ConfigureSyncJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ConflictHandleOption ¶
type ConflictHandleOption struct { // Conditionally overwritten column // Note: This field may return null, indicating that no valid values can be obtained. ConditionColumn *string `json:"ConditionColumn,omitnil,omitempty" name:"ConditionColumn"` // Conditional overwrite operation // Note: This field may return null, indicating that no valid values can be obtained. ConditionOperator *string `json:"ConditionOperator,omitnil,omitempty" name:"ConditionOperator"` // Conditional overwrite priority configuration // Note: This field may return null, indicating that no valid values can be obtained. ConditionOrderInSrcAndDst *string `json:"ConditionOrderInSrcAndDst,omitnil,omitempty" name:"ConditionOrderInSrcAndDst"` }
type ConsistencyOption ¶
type ConsistencyOption struct { // Data consistency check type. Valid values: `full`, `noCheck`, `notConfigured`. // Note: This field may return null, indicating that no valid values can be obtained. Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"` }
type ContinueMigrateJobRequest ¶
type ContinueMigrateJobRequest struct { *tchttp.BaseRequest // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewContinueMigrateJobRequest ¶
func NewContinueMigrateJobRequest() (request *ContinueMigrateJobRequest)
func (*ContinueMigrateJobRequest) FromJsonString ¶
func (r *ContinueMigrateJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ContinueMigrateJobRequest) ToJsonString ¶
func (r *ContinueMigrateJobRequest) ToJsonString() string
type ContinueMigrateJobRequestParams ¶
type ContinueMigrateJobRequestParams struct { // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type ContinueMigrateJobResponse ¶
type ContinueMigrateJobResponse struct { *tchttp.BaseResponse Response *ContinueMigrateJobResponseParams `json:"Response"` }
func NewContinueMigrateJobResponse ¶
func NewContinueMigrateJobResponse() (response *ContinueMigrateJobResponse)
func (*ContinueMigrateJobResponse) FromJsonString ¶
func (r *ContinueMigrateJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ContinueMigrateJobResponse) ToJsonString ¶
func (r *ContinueMigrateJobResponse) ToJsonString() string
type ContinueMigrateJobResponseParams ¶
type ContinueMigrateJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ContinueSyncJobRequest ¶
type ContinueSyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewContinueSyncJobRequest ¶
func NewContinueSyncJobRequest() (request *ContinueSyncJobRequest)
func (*ContinueSyncJobRequest) FromJsonString ¶
func (r *ContinueSyncJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ContinueSyncJobRequest) ToJsonString ¶
func (r *ContinueSyncJobRequest) ToJsonString() string
type ContinueSyncJobRequestParams ¶
type ContinueSyncJobRequestParams struct { // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type ContinueSyncJobResponse ¶
type ContinueSyncJobResponse struct { *tchttp.BaseResponse Response *ContinueSyncJobResponseParams `json:"Response"` }
func NewContinueSyncJobResponse ¶
func NewContinueSyncJobResponse() (response *ContinueSyncJobResponse)
func (*ContinueSyncJobResponse) FromJsonString ¶
func (r *ContinueSyncJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ContinueSyncJobResponse) ToJsonString ¶
func (r *ContinueSyncJobResponse) ToJsonString() string
type ContinueSyncJobResponseParams ¶
type ContinueSyncJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCheckSyncJobRequest ¶
type CreateCheckSyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewCreateCheckSyncJobRequest ¶
func NewCreateCheckSyncJobRequest() (request *CreateCheckSyncJobRequest)
func (*CreateCheckSyncJobRequest) FromJsonString ¶
func (r *CreateCheckSyncJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCheckSyncJobRequest) ToJsonString ¶
func (r *CreateCheckSyncJobRequest) ToJsonString() string
type CreateCheckSyncJobRequestParams ¶
type CreateCheckSyncJobRequestParams struct { // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type CreateCheckSyncJobResponse ¶
type CreateCheckSyncJobResponse struct { *tchttp.BaseResponse Response *CreateCheckSyncJobResponseParams `json:"Response"` }
func NewCreateCheckSyncJobResponse ¶
func NewCreateCheckSyncJobResponse() (response *CreateCheckSyncJobResponse)
func (*CreateCheckSyncJobResponse) FromJsonString ¶
func (r *CreateCheckSyncJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCheckSyncJobResponse) ToJsonString ¶
func (r *CreateCheckSyncJobResponse) ToJsonString() string
type CreateCheckSyncJobResponseParams ¶
type CreateCheckSyncJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCompareTaskRequest ¶
type CreateCompareTaskRequest struct { *tchttp.BaseRequest // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data consistency check task name. If this parameter is left empty, the value of `CompareTaskId` will be assigned to it. TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` // Data comparison object mode. Valid values: `sameAsMigrate` (all migration objects); `custom` (custom mode). Default value: `sameAsMigrate`. ObjectMode *string `json:"ObjectMode,omitnil,omitempty" name:"ObjectMode"` // Configuration of the data consistency check object Objects *CompareObject `json:"Objects,omitnil,omitempty" name:"Objects"` // Consistency check options Options *CompareOptions `json:"Options,omitnil,omitempty" name:"Options"` }
func NewCreateCompareTaskRequest ¶
func NewCreateCompareTaskRequest() (request *CreateCompareTaskRequest)
func (*CreateCompareTaskRequest) FromJsonString ¶
func (r *CreateCompareTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCompareTaskRequest) ToJsonString ¶
func (r *CreateCompareTaskRequest) ToJsonString() string
type CreateCompareTaskRequestParams ¶
type CreateCompareTaskRequestParams struct { // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data consistency check task name. If this parameter is left empty, the value of `CompareTaskId` will be assigned to it. TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` // Data comparison object mode. Valid values: `sameAsMigrate` (all migration objects); `custom` (custom mode). Default value: `sameAsMigrate`. ObjectMode *string `json:"ObjectMode,omitnil,omitempty" name:"ObjectMode"` // Configuration of the data consistency check object Objects *CompareObject `json:"Objects,omitnil,omitempty" name:"Objects"` // Consistency check options Options *CompareOptions `json:"Options,omitnil,omitempty" name:"Options"` }
Predefined struct for user
type CreateCompareTaskResponse ¶
type CreateCompareTaskResponse struct { *tchttp.BaseResponse Response *CreateCompareTaskResponseParams `json:"Response"` }
func NewCreateCompareTaskResponse ¶
func NewCreateCompareTaskResponse() (response *CreateCompareTaskResponse)
func (*CreateCompareTaskResponse) FromJsonString ¶
func (r *CreateCompareTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCompareTaskResponse) ToJsonString ¶
func (r *CreateCompareTaskResponse) ToJsonString() string
type CreateCompareTaskResponseParams ¶
type CreateCompareTaskResponseParams struct { // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9`. // Note: This field may return null, indicating that no valid values can be obtained. CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateConsumerGroupRequest ¶
type CreateConsumerGroupRequest struct { *tchttp.BaseRequest // Subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` // Consumer group name, which consists of numbers, letters (upper and lower case), or begins with _ - . Ends with numbers, letters (upper and lower case). The full name of the actually generated consumer group is in the form: consumer-grp-#{SubscribeId}-#{ConsumerGroupName}. ConsumerGroupName *string `json:"ConsumerGroupName,omitnil,omitempty" name:"ConsumerGroupName"` // Account name, which consists of numbers, letters (upper and lower case), or begins with _-.. Ends with numbers, letters (upper and lower case). The full name of the actually generated account is in the form: account-#{SubscribeId}-#{AccountName}. AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"` // Consumer group password, which should be longer than 3 characters. Password *string `json:"Password,omitnil,omitempty" name:"Password"` // Consumer group description Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
func NewCreateConsumerGroupRequest ¶
func NewCreateConsumerGroupRequest() (request *CreateConsumerGroupRequest)
func (*CreateConsumerGroupRequest) FromJsonString ¶
func (r *CreateConsumerGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateConsumerGroupRequest) ToJsonString ¶
func (r *CreateConsumerGroupRequest) ToJsonString() string
type CreateConsumerGroupRequestParams ¶
type CreateConsumerGroupRequestParams struct { // Subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` // Consumer group name, which consists of numbers, letters (upper and lower case), or begins with _ - . Ends with numbers, letters (upper and lower case). The full name of the actually generated consumer group is in the form: consumer-grp-#{SubscribeId}-#{ConsumerGroupName}. ConsumerGroupName *string `json:"ConsumerGroupName,omitnil,omitempty" name:"ConsumerGroupName"` // Account name, which consists of numbers, letters (upper and lower case), or begins with _-.. Ends with numbers, letters (upper and lower case). The full name of the actually generated account is in the form: account-#{SubscribeId}-#{AccountName}. AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"` // Consumer group password, which should be longer than 3 characters. Password *string `json:"Password,omitnil,omitempty" name:"Password"` // Consumer group description Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
Predefined struct for user
type CreateConsumerGroupResponse ¶
type CreateConsumerGroupResponse struct { *tchttp.BaseResponse Response *CreateConsumerGroupResponseParams `json:"Response"` }
func NewCreateConsumerGroupResponse ¶
func NewCreateConsumerGroupResponse() (response *CreateConsumerGroupResponse)
func (*CreateConsumerGroupResponse) FromJsonString ¶
func (r *CreateConsumerGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateConsumerGroupResponse) ToJsonString ¶
func (r *CreateConsumerGroupResponse) ToJsonString() string
type CreateConsumerGroupResponseParams ¶
type CreateConsumerGroupResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateMigrateCheckJobRequest ¶
type CreateMigrateCheckJobRequest struct { *tchttp.BaseRequest // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewCreateMigrateCheckJobRequest ¶
func NewCreateMigrateCheckJobRequest() (request *CreateMigrateCheckJobRequest)
func (*CreateMigrateCheckJobRequest) FromJsonString ¶
func (r *CreateMigrateCheckJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateMigrateCheckJobRequest) ToJsonString ¶
func (r *CreateMigrateCheckJobRequest) ToJsonString() string
type CreateMigrateCheckJobRequestParams ¶
type CreateMigrateCheckJobRequestParams struct { // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type CreateMigrateCheckJobResponse ¶
type CreateMigrateCheckJobResponse struct { *tchttp.BaseResponse Response *CreateMigrateCheckJobResponseParams `json:"Response"` }
func NewCreateMigrateCheckJobResponse ¶
func NewCreateMigrateCheckJobResponse() (response *CreateMigrateCheckJobResponse)
func (*CreateMigrateCheckJobResponse) FromJsonString ¶
func (r *CreateMigrateCheckJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateMigrateCheckJobResponse) ToJsonString ¶
func (r *CreateMigrateCheckJobResponse) ToJsonString() string
type CreateMigrateCheckJobResponseParams ¶
type CreateMigrateCheckJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateMigrationServiceRequest ¶
type CreateMigrationServiceRequest struct { *tchttp.BaseRequest // Source database type. Valid values: `mysql`, `redis`, `percona`, `mongodb`, `postgresql`, `sqlserver`, `mariadb`, and `cynosdbmysql`. SrcDatabaseType *string `json:"SrcDatabaseType,omitnil,omitempty" name:"SrcDatabaseType"` // Target database type. Valid values: `mysql`, `redis`, `percona`, `mongodb` ,`postgresql`, `sqlserver`, `mariadb`, and `cynosdbmysql`. DstDatabaseType *string `json:"DstDatabaseType,omitnil,omitempty" name:"DstDatabaseType"` // Source instance region, such as `ap-guangzhou`. SrcRegion *string `json:"SrcRegion,omitnil,omitempty" name:"SrcRegion"` // Target instance region, such as `ap-guangzhou`. Note that it must be the same as the API request region. DstRegion *string `json:"DstRegion,omitnil,omitempty" name:"DstRegion"` // Instance specification. Valid values: `small`, `medium`, `large`, `xlarge`, `2xlarge`. InstanceClass *string `json:"InstanceClass,omitnil,omitempty" name:"InstanceClass"` // Quantity. Value range: [1,15]. Default value: `1`. Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"` // Migration task name, which can contain up to 128 characters. JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // Tag information Tags []*TagItem `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewCreateMigrationServiceRequest ¶
func NewCreateMigrationServiceRequest() (request *CreateMigrationServiceRequest)
func (*CreateMigrationServiceRequest) FromJsonString ¶
func (r *CreateMigrationServiceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateMigrationServiceRequest) ToJsonString ¶
func (r *CreateMigrationServiceRequest) ToJsonString() string
type CreateMigrationServiceRequestParams ¶
type CreateMigrationServiceRequestParams struct { // Source database type. Valid values: `mysql`, `redis`, `percona`, `mongodb`, `postgresql`, `sqlserver`, `mariadb`, and `cynosdbmysql`. SrcDatabaseType *string `json:"SrcDatabaseType,omitnil,omitempty" name:"SrcDatabaseType"` // Target database type. Valid values: `mysql`, `redis`, `percona`, `mongodb` ,`postgresql`, `sqlserver`, `mariadb`, and `cynosdbmysql`. DstDatabaseType *string `json:"DstDatabaseType,omitnil,omitempty" name:"DstDatabaseType"` // Source instance region, such as `ap-guangzhou`. SrcRegion *string `json:"SrcRegion,omitnil,omitempty" name:"SrcRegion"` // Target instance region, such as `ap-guangzhou`. Note that it must be the same as the API request region. DstRegion *string `json:"DstRegion,omitnil,omitempty" name:"DstRegion"` // Instance specification. Valid values: `small`, `medium`, `large`, `xlarge`, `2xlarge`. InstanceClass *string `json:"InstanceClass,omitnil,omitempty" name:"InstanceClass"` // Quantity. Value range: [1,15]. Default value: `1`. Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"` // Migration task name, which can contain up to 128 characters. JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // Tag information Tags []*TagItem `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type CreateMigrationServiceResponse ¶
type CreateMigrationServiceResponse struct { *tchttp.BaseResponse Response *CreateMigrationServiceResponseParams `json:"Response"` }
func NewCreateMigrationServiceResponse ¶
func NewCreateMigrationServiceResponse() (response *CreateMigrationServiceResponse)
func (*CreateMigrationServiceResponse) FromJsonString ¶
func (r *CreateMigrationServiceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateMigrationServiceResponse) ToJsonString ¶
func (r *CreateMigrationServiceResponse) ToJsonString() string
type CreateMigrationServiceResponseParams ¶
type CreateMigrationServiceResponseParams struct { // The list of migration task IDs randomly generated in the format of `dts-c1f6rs21` after a successful order placement // Note: This field may return null, indicating that no valid values can be obtained. JobIds []*string `json:"JobIds,omitnil,omitempty" name:"JobIds"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateModifyCheckSyncJobRequest ¶
type CreateModifyCheckSyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewCreateModifyCheckSyncJobRequest ¶
func NewCreateModifyCheckSyncJobRequest() (request *CreateModifyCheckSyncJobRequest)
func (*CreateModifyCheckSyncJobRequest) FromJsonString ¶
func (r *CreateModifyCheckSyncJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateModifyCheckSyncJobRequest) ToJsonString ¶
func (r *CreateModifyCheckSyncJobRequest) ToJsonString() string
type CreateModifyCheckSyncJobRequestParams ¶
type CreateModifyCheckSyncJobRequestParams struct { // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type CreateModifyCheckSyncJobResponse ¶
type CreateModifyCheckSyncJobResponse struct { *tchttp.BaseResponse Response *CreateModifyCheckSyncJobResponseParams `json:"Response"` }
func NewCreateModifyCheckSyncJobResponse ¶
func NewCreateModifyCheckSyncJobResponse() (response *CreateModifyCheckSyncJobResponse)
func (*CreateModifyCheckSyncJobResponse) FromJsonString ¶
func (r *CreateModifyCheckSyncJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateModifyCheckSyncJobResponse) ToJsonString ¶
func (r *CreateModifyCheckSyncJobResponse) ToJsonString() string
type CreateModifyCheckSyncJobResponseParams ¶
type CreateModifyCheckSyncJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateSubscribeCheckJobRequest ¶
type CreateSubscribeCheckJobRequest struct { *tchttp.BaseRequest // Data subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` }
func NewCreateSubscribeCheckJobRequest ¶
func NewCreateSubscribeCheckJobRequest() (request *CreateSubscribeCheckJobRequest)
func (*CreateSubscribeCheckJobRequest) FromJsonString ¶
func (r *CreateSubscribeCheckJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSubscribeCheckJobRequest) ToJsonString ¶
func (r *CreateSubscribeCheckJobRequest) ToJsonString() string
type CreateSubscribeCheckJobRequestParams ¶
type CreateSubscribeCheckJobRequestParams struct { // Data subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` }
Predefined struct for user
type CreateSubscribeCheckJobResponse ¶
type CreateSubscribeCheckJobResponse struct { *tchttp.BaseResponse Response *CreateSubscribeCheckJobResponseParams `json:"Response"` }
func NewCreateSubscribeCheckJobResponse ¶
func NewCreateSubscribeCheckJobResponse() (response *CreateSubscribeCheckJobResponse)
func (*CreateSubscribeCheckJobResponse) FromJsonString ¶
func (r *CreateSubscribeCheckJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSubscribeCheckJobResponse) ToJsonString ¶
func (r *CreateSubscribeCheckJobResponse) ToJsonString() string
type CreateSubscribeCheckJobResponseParams ¶
type CreateSubscribeCheckJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateSubscribeRequest ¶
type CreateSubscribeRequest struct { *tchttp.BaseRequest // Subscription database type. Currently, cynosdbmysql, mariadb, mongodb, mysql, percona, tdpg, and tdsqlpercona are supported. Product *string `json:"Product,omitnil,omitempty" name:"Product"` // Payment method. Valid values: 0 (monthly subscription); 1 (pay-as-you-go). PayType *int64 `json:"PayType,omitnil,omitempty" name:"PayType"` // Purchase duration. This field needs to be filled in when the payType is monthly subscription. The unit is month. Value range: 1-120. Default value: 1. Duration *int64 `json:"Duration,omitnil,omitempty" name:"Duration"` // Whether to renew automatically. This field needs to be filled in when the payType is monthly subscription. Valid values: 0 (auto-renewal disabled); 1 (auto-renewal enabled). Automatic renewal is not performed by default. This flag is invalid for pay-as-you-go. AutoRenew *int64 `json:"AutoRenew,omitnil,omitempty" name:"AutoRenew"` // Quantity. Default value: 1. Maximum value: 10. Count *int64 `json:"Count,omitnil,omitempty" name:"Count"` // Instance resource tags Tags []*TagItem `json:"Tags,omitnil,omitempty" name:"Tags"` // Custom task name Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
func NewCreateSubscribeRequest ¶
func NewCreateSubscribeRequest() (request *CreateSubscribeRequest)
func (*CreateSubscribeRequest) FromJsonString ¶
func (r *CreateSubscribeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSubscribeRequest) ToJsonString ¶
func (r *CreateSubscribeRequest) ToJsonString() string
type CreateSubscribeRequestParams ¶
type CreateSubscribeRequestParams struct { // Subscription database type. Currently, cynosdbmysql, mariadb, mongodb, mysql, percona, tdpg, and tdsqlpercona are supported. Product *string `json:"Product,omitnil,omitempty" name:"Product"` // Payment method. Valid values: 0 (monthly subscription); 1 (pay-as-you-go). PayType *int64 `json:"PayType,omitnil,omitempty" name:"PayType"` // Purchase duration. This field needs to be filled in when the payType is monthly subscription. The unit is month. Value range: 1-120. Default value: 1. Duration *int64 `json:"Duration,omitnil,omitempty" name:"Duration"` // Whether to renew automatically. This field needs to be filled in when the payType is monthly subscription. Valid values: 0 (auto-renewal disabled); 1 (auto-renewal enabled). Automatic renewal is not performed by default. This flag is invalid for pay-as-you-go. AutoRenew *int64 `json:"AutoRenew,omitnil,omitempty" name:"AutoRenew"` // Quantity. Default value: 1. Maximum value: 10. Count *int64 `json:"Count,omitnil,omitempty" name:"Count"` // Instance resource tags Tags []*TagItem `json:"Tags,omitnil,omitempty" name:"Tags"` // Custom task name Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
Predefined struct for user
type CreateSubscribeResponse ¶
type CreateSubscribeResponse struct { *tchttp.BaseResponse Response *CreateSubscribeResponseParams `json:"Response"` }
func NewCreateSubscribeResponse ¶
func NewCreateSubscribeResponse() (response *CreateSubscribeResponse)
func (*CreateSubscribeResponse) FromJsonString ¶
func (r *CreateSubscribeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSubscribeResponse) ToJsonString ¶
func (r *CreateSubscribeResponse) ToJsonString() string
type CreateSubscribeResponseParams ¶
type CreateSubscribeResponseParams struct { // Array of data subscription instance IDs // Note: This field may return null, indicating that no valid values can be obtained. SubscribeIds []*string `json:"SubscribeIds,omitnil,omitempty" name:"SubscribeIds"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateSyncJobRequest ¶
type CreateSyncJobRequest struct { *tchttp.BaseRequest // Billing mode. Valid values: `PrePay` (monthly subscription); `PostPay` (pay-as-you-go). Currently, DTS at Tencent Cloud International is free of charge. PayMode *string `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Source database type, such as `mysql`, `cynosdbmysql`, `tdapg`, `tdpg`, and `tdsqlmysql`. SrcDatabaseType *string `json:"SrcDatabaseType,omitnil,omitempty" name:"SrcDatabaseType"` // Source database region, such as `ap-guangzhou`. SrcRegion *string `json:"SrcRegion,omitnil,omitempty" name:"SrcRegion"` // Target database type, such as `mysql`, `cynosdbmysql`, `tdapg`, `tdpg`, `tdsqlmysql`, and `kafka`. DstDatabaseType *string `json:"DstDatabaseType,omitnil,omitempty" name:"DstDatabaseType"` // Target database region, such as `ap-guangzhou`. DstRegion *string `json:"DstRegion,omitnil,omitempty" name:"DstRegion"` // Sync task specification, such as `Standard`. Specification *string `json:"Specification,omitnil,omitempty" name:"Specification"` // Tag information Tags []*TagItem `json:"Tags,omitnil,omitempty" name:"Tags"` // The number of sync tasks purchased at a time. Value range: [1, 10]. Default value: `1`. Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"` // Auto-renewal flag, which takes effect if `PayMode` is `PrePay`. Valid values: `1` (auto-renewal enabled); `0` (auto-renewal disabled). Default value: `0`. AutoRenew *uint64 `json:"AutoRenew,omitnil,omitempty" name:"AutoRenew"` // Sync link specification, such as `micro`, `small`, `medium`, and `large`. Default value: `medium`. InstanceClass *string `json:"InstanceClass,omitnil,omitempty" name:"InstanceClass"` // Sync task name JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // ID of the existing task used to create a similar task ExistedJobId *string `json:"ExistedJobId,omitnil,omitempty" name:"ExistedJobId"` }
func NewCreateSyncJobRequest ¶
func NewCreateSyncJobRequest() (request *CreateSyncJobRequest)
func (*CreateSyncJobRequest) FromJsonString ¶
func (r *CreateSyncJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSyncJobRequest) ToJsonString ¶
func (r *CreateSyncJobRequest) ToJsonString() string
type CreateSyncJobRequestParams ¶
type CreateSyncJobRequestParams struct { // Billing mode. Valid values: `PrePay` (monthly subscription); `PostPay` (pay-as-you-go). Currently, DTS at Tencent Cloud International is free of charge. PayMode *string `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Source database type, such as `mysql`, `cynosdbmysql`, `tdapg`, `tdpg`, and `tdsqlmysql`. SrcDatabaseType *string `json:"SrcDatabaseType,omitnil,omitempty" name:"SrcDatabaseType"` // Source database region, such as `ap-guangzhou`. SrcRegion *string `json:"SrcRegion,omitnil,omitempty" name:"SrcRegion"` // Target database type, such as `mysql`, `cynosdbmysql`, `tdapg`, `tdpg`, `tdsqlmysql`, and `kafka`. DstDatabaseType *string `json:"DstDatabaseType,omitnil,omitempty" name:"DstDatabaseType"` // Target database region, such as `ap-guangzhou`. DstRegion *string `json:"DstRegion,omitnil,omitempty" name:"DstRegion"` // Sync task specification, such as `Standard`. Specification *string `json:"Specification,omitnil,omitempty" name:"Specification"` // Tag information Tags []*TagItem `json:"Tags,omitnil,omitempty" name:"Tags"` // The number of sync tasks purchased at a time. Value range: [1, 10]. Default value: `1`. Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"` // Auto-renewal flag, which takes effect if `PayMode` is `PrePay`. Valid values: `1` (auto-renewal enabled); `0` (auto-renewal disabled). Default value: `0`. AutoRenew *uint64 `json:"AutoRenew,omitnil,omitempty" name:"AutoRenew"` // Sync link specification, such as `micro`, `small`, `medium`, and `large`. Default value: `medium`. InstanceClass *string `json:"InstanceClass,omitnil,omitempty" name:"InstanceClass"` // Sync task name JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // ID of the existing task used to create a similar task ExistedJobId *string `json:"ExistedJobId,omitnil,omitempty" name:"ExistedJobId"` }
Predefined struct for user
type CreateSyncJobResponse ¶
type CreateSyncJobResponse struct { *tchttp.BaseResponse Response *CreateSyncJobResponseParams `json:"Response"` }
func NewCreateSyncJobResponse ¶
func NewCreateSyncJobResponse() (response *CreateSyncJobResponse)
func (*CreateSyncJobResponse) FromJsonString ¶
func (r *CreateSyncJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSyncJobResponse) ToJsonString ¶
func (r *CreateSyncJobResponse) ToJsonString() string
type CreateSyncJobResponseParams ¶
type CreateSyncJobResponseParams struct { // Sync task IDs JobIds []*string `json:"JobIds,omitnil,omitempty" name:"JobIds"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DBEndpointInfo ¶
type DBEndpointInfo struct { // Instance region // Note: This field may return null, indicating that no valid values can be obtained. Region *string `json:"Region,omitnil,omitempty" name:"Region"` // Instances network access type. Valid values: `extranet` (public network); `ipv6` (public IPv6); `cvm` (self-build on CVM); `dcg` (Direct Connect); `vpncloud` (VPN access); `cdb` (database); `ccn` (CCN); `intranet` (intranet); `vpc` (VPC). Note that the valid values are subject to the current link. // Note: This field may return null, indicating that no valid values can be obtained. AccessType *string `json:"AccessType,omitnil,omitempty" name:"AccessType"` // Database type, such as `mysql`, `redis`, `mongodb`, `postgresql`, `mariadb`, and `percona`. // Note: This field may return null, indicating that no valid values can be obtained. DatabaseType *string `json:"DatabaseType,omitnil,omitempty" name:"DatabaseType"` // Node type, empty or simple indicates a general node, cluster indicates a cluster node; for mongo services, valid values: replicaset (mongodb replica set), standalone (mongodb single node), cluster (mongodb cluster); for redis instances, valid values: empty or simple (single node), cluster (cluster), cluster-cache (cache cluster), cluster-proxy (proxy cluster).Note: This field may return null, indicating that no valid values can be obtained. NodeType *string `json:"NodeType,omitnil,omitempty" name:"NodeType"` // Database information // Note: This field may return null, indicating that no valid values can be obtained. Info []*DBInfo `json:"Info,omitnil,omitempty" name:"Info"` // Instance service provider, such as "aliyun" and "others". // Note: This field may return null, indicating that no valid values can be obtained. Supplier *string `json:"Supplier,omitnil,omitempty" name:"Supplier"` // For MongoDB, you can define the following parameters: ['AuthDatabase':'admin', // 'AuthFlag': "1", 'AuthMechanism':"SCRAM-SHA-1"] // Note: This field may return null, indicating that no valid values can be obtained. ExtraAttr []*KeyValuePairOption `json:"ExtraAttr,omitnil,omitempty" name:"ExtraAttr"` // Network environment of the database. This parameter is required when `AccessType` is `ccn`. Valid values: `UserIDC` (user IDC), `TencentVPC` (Tencent Cloud VPC). // Note: This field may return null, indicating that no valid values can be obtained. DatabaseNetEnv *string `json:"DatabaseNetEnv,omitnil,omitempty" name:"DatabaseNetEnv"` ConnectType *string `json:"ConnectType,omitnil,omitempty" name:"ConnectType"` }
type DBInfo ¶
type DBInfo struct { // Node role in a distributed database, such as the mongos node in MongoDB. // Note: This field may return null, indicating that no valid values can be obtained. Role *string `json:"Role,omitnil,omitempty" name:"Role"` // Kernel version, such as the different kernel versions of MariaDB. // Note: This field may return null, indicating that no valid values can be obtained. DbKernel *string `json:"DbKernel,omitnil,omitempty" name:"DbKernel"` // Instance IP address, which is required for the following access types: public network, Direct Connect, VPN, CCN, intranet, and VPC. // Note: This field may return null, indicating that no valid values can be obtained. Host *string `json:"Host,omitnil,omitempty" name:"Host"` // Instance port, which is required for the following access types: public network, self-build on CVM, Direct Connect, VPN, CCN, intranet, and VPC. // Note: This field may return null, indicating that no valid values can be obtained. Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // Instance username // Note: This field may return null, indicating that no valid values can be obtained. User *string `json:"User,omitnil,omitempty" name:"User"` // Instance password // Note: This field may return null, indicating that no valid values can be obtained. Password *string `json:"Password,omitnil,omitempty" name:"Password"` // Short CVM instance ID in the format of `ins-olgl39y8`, which is required if the access type is `cvm`. It is the same as the instance ID displayed in the CVM console. // Note: This field may return null, indicating that no valid values can be obtained. CvmInstanceId *string `json:"CvmInstanceId,omitnil,omitempty" name:"CvmInstanceId"` // VPN gateway ID in the format of `vpngw-9ghexg7q`, which is required if the access type is `vpncloud`. // Note: This field may return null, indicating that no valid values can be obtained. UniqVpnGwId *string `json:"UniqVpnGwId,omitnil,omitempty" name:"UniqVpnGwId"` // Direct Connect gateway ID in the format of `dcg-0rxtqqxb`, which is required if the access type is `dcg`. // Note: This field may return null, indicating that no valid values can be obtained. UniqDcgId *string `json:"UniqDcgId,omitnil,omitempty" name:"UniqDcgId"` // Database instance ID in the format of `cdb-powiqx8q`, which is required if the access type is `cdb`. // Note: This field may return null, indicating that no valid values can be obtained. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // CCN instance ID such as `ccn-afp6kltc` // Note: This field may return null, indicating that no valid values can be obtained. CcnGwId *string `json:"CcnGwId,omitnil,omitempty" name:"CcnGwId"` // VPC ID in the format of `vpc-92jblxto`, which is required if the access type is `vpc`, `vpncloud`, `ccn`, or `dcg`. // Note: This field may return null, indicating that no valid values can be obtained. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // ID of the subnet in the VPC in the format of `subnet-3paxmkdz`, which is required if the access type is `vpc`, `vpncloud`, `ccn`, or `dcg`. // Note: This field may return null, indicating that no valid values can be obtained. SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // Database version in the format of `5.6` or `5.7`, which takes effect only if the instance is an RDS instance. Default value: `5.6`. // Note: This field may return null, indicating that no valid values can be obtained. EngineVersion *string `json:"EngineVersion,omitnil,omitempty" name:"EngineVersion"` // Instance account // Note: This field may return null, indicating that no valid values can be obtained. Account *string `json:"Account,omitnil,omitempty" name:"Account"` // The role used for cross-account migration, which can contain [a-zA-Z0-9\-\_]+. // Note: This field may return null, indicating that no valid values can be obtained. AccountRole *string `json:"AccountRole,omitnil,omitempty" name:"AccountRole"` // The account to which the resource belongs. Valid values: empty or `self` (the current account); `other` (another account). // Note: This field may return null, indicating that no valid values can be obtained. AccountMode *string `json:"AccountMode,omitnil,omitempty" name:"AccountMode"` // Temporary SecretId, you can obtain the temporary key by [GetFederationToken](https://intl.cloud.tencent.com/document/product/1312/48195?from_cn_redirect=1).Note: This field may return null, indicating that no valid values can be obtained. TmpSecretId *string `json:"TmpSecretId,omitnil,omitempty" name:"TmpSecretId"` // Temporary SecretKey, you can obtain the temporary key by [GetFederationToken](https://intl.cloud.tencent.com/document/product/1312/48195?from_cn_redirect=1).Note: This field may return null, indicating that no valid values can be obtained. TmpSecretKey *string `json:"TmpSecretKey,omitnil,omitempty" name:"TmpSecretKey"` // Temporary token, you can obtain the temporary key by [GetFederationToken](https://intl.cloud.tencent.com/document/product/1312/48195?from_cn_redirect=1).Note: This field may return null, indicating that no valid values can be obtained. TmpToken *string `json:"TmpToken,omitnil,omitempty" name:"TmpToken"` }
type DBItem ¶
type DBItem struct { // Name of the database to be migrated or synced, which is required if `ObjectMode` is `partial`. // Note: This field may return null, indicating that no valid values can be obtained. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Name of the database after migration or sync, which is the same as the source database name by default. // Note: This field may return null, indicating that no valid values can be obtained. NewDbName *string `json:"NewDbName,omitnil,omitempty" name:"NewDbName"` // The schema to be migrated or synced // Note: This field may return null, indicating that no valid values can be obtained. SchemaName *string `json:"SchemaName,omitnil,omitempty" name:"SchemaName"` // Name of the schema after migration or sync // Note: This field may return null, indicating that no valid values can be obtained. NewSchemaName *string `json:"NewSchemaName,omitnil,omitempty" name:"NewSchemaName"` // Database selection mode, which is required if `ObjectMode` is `partial`. Valid values: `all`, `partial`. // Note: This field may return null, indicating that no valid values can be obtained. DBMode *string `json:"DBMode,omitnil,omitempty" name:"DBMode"` // Schema selection mode. Valid values: `all`, `partial`. // Note: This field may return null, indicating that no valid values can be obtained. SchemaMode *string `json:"SchemaMode,omitnil,omitempty" name:"SchemaMode"` // Table selection mode, which is required if `DBMode` is `partial`. Valid values: `all`, `partial`. // Note: This field may return null, indicating that no valid values can be obtained. TableMode *string `json:"TableMode,omitnil,omitempty" name:"TableMode"` // The set of table objects, which is required if `TableMode` is `partial`. // Note: This field may return null, indicating that no valid values can be obtained. Tables []*TableItem `json:"Tables,omitnil,omitempty" name:"Tables"` // View selection mode. Valid values: `all`, `partial`. // Note: This field may return null, indicating that no valid values can be obtained. ViewMode *string `json:"ViewMode,omitnil,omitempty" name:"ViewMode"` // The set of view objects, which is required if `ViewMode` is `partial`. // Note: This field may return null, indicating that no valid values can be obtained. Views []*ViewItem `json:"Views,omitnil,omitempty" name:"Views"` // Role selection mode, which is exclusive to PostgreSQL. Valid values: `all`, `partial`. // Note: This field may return null, indicating that no valid values can be obtained. RoleMode *string `json:"RoleMode,omitnil,omitempty" name:"RoleMode"` // Role, which is exclusive to PostgreSQL and required if `RoleMode` is `partial`. // Note: This field may return null, indicating that no valid values can be obtained. Roles []*RoleItem `json:"Roles,omitnil,omitempty" name:"Roles"` // Sync mode. Valid values: `partial`, `all`. // Note: This field may return null, indicating that no valid values can be obtained. FunctionMode *string `json:"FunctionMode,omitnil,omitempty" name:"FunctionMode"` // Sync mode. Valid values: `partial`, `all`. // Note: This field may return null, indicating that no valid values can be obtained. TriggerMode *string `json:"TriggerMode,omitnil,omitempty" name:"TriggerMode"` // Sync mode. Valid values: `partial`, `all`. // Note: This field may return null, indicating that no valid values can be obtained. EventMode *string `json:"EventMode,omitnil,omitempty" name:"EventMode"` // Sync mode. Valid values: `partial`, `all`. // Note: This field may return null, indicating that no valid values can be obtained. ProcedureMode *string `json:"ProcedureMode,omitnil,omitempty" name:"ProcedureMode"` // This parameter is required if `FunctionMode` is `partial`. // Note: This field may return null, indicating that no valid values can be obtained. Functions []*string `json:"Functions,omitnil,omitempty" name:"Functions"` // This parameter is required if `ProcedureMode` is `partial`. // Note: This field may return null, indicating that no valid values can be obtained. Procedures []*string `json:"Procedures,omitnil,omitempty" name:"Procedures"` // This parameter is required if `EventMode` is `partial`. // Note: This field may return null, indicating that no valid values can be obtained. Events []*string `json:"Events,omitnil,omitempty" name:"Events"` // This parameter is required if `TriggerMode` is `partial`. // Note: This field may return null, indicating that no valid values can be obtained. Triggers []*string `json:"Triggers,omitnil,omitempty" name:"Triggers"` }
type Database ¶
type Database struct { // Name of the database to be migrated or synced, which is required if `ObjectMode` is `Partial`. // Note: This field may return null, indicating that no valid values can be obtained. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Name of the database after migration or sync, which is the same as the source database name by default. // Note: This field may return null, indicating that no valid values can be obtained. NewDbName *string `json:"NewDbName,omitnil,omitempty" name:"NewDbName"` // Database selection mode, which is required if `Mode` is `Partial`. Valid values: `All`, `Partial`. Note that the sync of advanced objects does not depend on this parameter. To sync an entire database, set this parameter to `All`. // Note: This field may return null, indicating that no valid values can be obtained. DbMode *string `json:"DbMode,omitnil,omitempty" name:"DbMode"` // The schema to be migrated or synced // Note: This field may return null, indicating that no valid values can be obtained. SchemaName *string `json:"SchemaName,omitnil,omitempty" name:"SchemaName"` // Name of the schema after migration or sync // Note: This field may return null, indicating that no valid values can be obtained. NewSchemaName *string `json:"NewSchemaName,omitnil,omitempty" name:"NewSchemaName"` // Table selection mode, which is required if `DBMode` is `Partial`. Valid values: `All`, `Partial`. To sync an entire database, set this parameter to `All`. // Note: This field may return null, indicating that no valid values can be obtained. TableMode *string `json:"TableMode,omitnil,omitempty" name:"TableMode"` // The set of table objects, which is required if `TableMode` is `Partial`. // Note: This field may return null, indicating that no valid values can be obtained. Tables []*Table `json:"Tables,omitnil,omitempty" name:"Tables"` // View selection mode. Valid values: `All`, `Partial`. To sync an entire database, set this parameter to `All`. // Note: This field may return null, indicating that no valid values can be obtained. ViewMode *string `json:"ViewMode,omitnil,omitempty" name:"ViewMode"` // The set of view objects, which is required if `ViewMode` is `Partial`. // Note: This field may return null, indicating that no valid values can be obtained. Views []*View `json:"Views,omitnil,omitempty" name:"Views"` // Sync mode. Valid values: `All`, `Partial`. To sync an entire database, set this parameter to `All`. // Note: This field may return null, indicating that no valid values can be obtained. FunctionMode *string `json:"FunctionMode,omitnil,omitempty" name:"FunctionMode"` // This parameter is required if `FunctionMode` is `Partial`. // Note: This field may return null, indicating that no valid values can be obtained. Functions []*string `json:"Functions,omitnil,omitempty" name:"Functions"` // Sync mode. Valid values: `All`, `Partial`. To sync an entire database, set this parameter to `All`. // Note: This field may return null, indicating that no valid values can be obtained. ProcedureMode *string `json:"ProcedureMode,omitnil,omitempty" name:"ProcedureMode"` // This parameter is required if `ProcedureMode` is `Partial`. // Note: This field may return null, indicating that no valid values can be obtained. Procedures []*string `json:"Procedures,omitnil,omitempty" name:"Procedures"` // Trigger sync mode. Valid values: `All`, `Partial`. To sync an entire database, set this parameter to `All`. Currently, the advanced object “trigger” is not supported for data sync. // Note: This field may return null, indicating that no valid values can be obtained. TriggerMode *string `json:"TriggerMode,omitnil,omitempty" name:"TriggerMode"` // This parameter is used to specify the names of the triggers to be migrated when the value of `TriggerMode` is `partial`. // Note: This field may return null, indicating that no valid values can be obtained. Triggers []*string `json:"Triggers,omitnil,omitempty" name:"Triggers"` // Event sync mode. Valid values: `All`, `Partial`. To sync an entire database, set this parameter to `All`. Currently, the advanced object “event” is not supported for data sync. // Note: This field may return null, indicating that no valid values can be obtained. EventMode *string `json:"EventMode,omitnil,omitempty" name:"EventMode"` // This parameter is used to specify the names of the events to be migrated when the value of `EventMode` is `partial`. // Note: This field may return null, indicating that no valid values can be obtained. Events []*string `json:"Events,omitnil,omitempty" name:"Events"` }
type DatabaseTableObject ¶
type DatabaseTableObject struct { // Migration object type. Valid values: `all`, `partial`. // Note: This field may return null, indicating that no valid values can be obtained. ObjectMode *string `json:"ObjectMode,omitnil,omitempty" name:"ObjectMode"` // Migration object, which is required if `ObjectMode` is `partial`. // Note: This field may return null, indicating that no valid values can be obtained. Databases []*DBItem `json:"Databases,omitnil,omitempty" name:"Databases"` // Advanced object types, such as trigger, function, procedure, event. Note: If you want to migrate and synchronize advanced objects, the corresponding advanced object type should be included in this configuration.Note: This field may return null, indicating that no valid values can be obtained. AdvancedObjects []*string `json:"AdvancedObjects,omitnil,omitempty" name:"AdvancedObjects"` }
type DdlOption ¶
type DdlOption struct { // DDL type, such as database, table, view, and index. // Note: This field may return null, indicating that no valid values can be obtained. DdlObject *string `json:"DdlObject,omitnil,omitempty" name:"DdlObject"` // DDL value. Valid values: [Create,Drop,Alter] for database <br>[Create,Drop,Alter,Truncate,Rename] for table <br/>[Create,Drop] for view <br/>[Create,Drop] for index // Note: This field may return null, indicating that no valid values can be obtained. DdlValue []*string `json:"DdlValue,omitnil,omitempty" name:"DdlValue"` }
type DeleteCompareTaskRequest ¶
type DeleteCompareTaskRequest struct { *tchttp.BaseRequest // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` }
func NewDeleteCompareTaskRequest ¶
func NewDeleteCompareTaskRequest() (request *DeleteCompareTaskRequest)
func (*DeleteCompareTaskRequest) FromJsonString ¶
func (r *DeleteCompareTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCompareTaskRequest) ToJsonString ¶
func (r *DeleteCompareTaskRequest) ToJsonString() string
type DeleteCompareTaskRequestParams ¶
type DeleteCompareTaskRequestParams struct { // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` }
Predefined struct for user
type DeleteCompareTaskResponse ¶
type DeleteCompareTaskResponse struct { *tchttp.BaseResponse Response *DeleteCompareTaskResponseParams `json:"Response"` }
func NewDeleteCompareTaskResponse ¶
func NewDeleteCompareTaskResponse() (response *DeleteCompareTaskResponse)
func (*DeleteCompareTaskResponse) FromJsonString ¶
func (r *DeleteCompareTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCompareTaskResponse) ToJsonString ¶
func (r *DeleteCompareTaskResponse) ToJsonString() string
type DeleteCompareTaskResponseParams ¶
type DeleteCompareTaskResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteConsumerGroupRequest ¶
type DeleteConsumerGroupRequest struct { *tchttp.BaseRequest // ID of the data subscription instance SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` // Consumer group name. The full name of the actual consumer group is in the form: consumer-grp-#{SubscribeId}-#{ConsumerGroupName}.Please make sure the consumer group name is correct. ConsumerGroupName *string `json:"ConsumerGroupName,omitnil,omitempty" name:"ConsumerGroupName"` // Account name. The full name of the actual account is in the form: account-#{SubscribeId}-#{AccountName}.Please make sure the account name is correct. AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"` }
func NewDeleteConsumerGroupRequest ¶
func NewDeleteConsumerGroupRequest() (request *DeleteConsumerGroupRequest)
func (*DeleteConsumerGroupRequest) FromJsonString ¶
func (r *DeleteConsumerGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteConsumerGroupRequest) ToJsonString ¶
func (r *DeleteConsumerGroupRequest) ToJsonString() string
type DeleteConsumerGroupRequestParams ¶
type DeleteConsumerGroupRequestParams struct { // ID of the data subscription instance SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` // Consumer group name. The full name of the actual consumer group is in the form: consumer-grp-#{SubscribeId}-#{ConsumerGroupName}.Please make sure the consumer group name is correct. ConsumerGroupName *string `json:"ConsumerGroupName,omitnil,omitempty" name:"ConsumerGroupName"` // Account name. The full name of the actual account is in the form: account-#{SubscribeId}-#{AccountName}.Please make sure the account name is correct. AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"` }
Predefined struct for user
type DeleteConsumerGroupResponse ¶
type DeleteConsumerGroupResponse struct { *tchttp.BaseResponse Response *DeleteConsumerGroupResponseParams `json:"Response"` }
func NewDeleteConsumerGroupResponse ¶
func NewDeleteConsumerGroupResponse() (response *DeleteConsumerGroupResponse)
func (*DeleteConsumerGroupResponse) FromJsonString ¶
func (r *DeleteConsumerGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteConsumerGroupResponse) ToJsonString ¶
func (r *DeleteConsumerGroupResponse) ToJsonString() string
type DeleteConsumerGroupResponseParams ¶
type DeleteConsumerGroupResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCheckSyncJobResultRequest ¶
type DescribeCheckSyncJobResultRequest struct { *tchttp.BaseRequest // Sync task instance ID in the format of `sync-werwfs23`, which is used to identify a sync task. This parameter is required. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewDescribeCheckSyncJobResultRequest ¶
func NewDescribeCheckSyncJobResultRequest() (request *DescribeCheckSyncJobResultRequest)
func (*DescribeCheckSyncJobResultRequest) FromJsonString ¶
func (r *DescribeCheckSyncJobResultRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCheckSyncJobResultRequest) ToJsonString ¶
func (r *DescribeCheckSyncJobResultRequest) ToJsonString() string
type DescribeCheckSyncJobResultRequestParams ¶
type DescribeCheckSyncJobResultRequestParams struct { // Sync task instance ID in the format of `sync-werwfs23`, which is used to identify a sync task. This parameter is required. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type DescribeCheckSyncJobResultResponse ¶
type DescribeCheckSyncJobResultResponse struct { *tchttp.BaseResponse Response *DescribeCheckSyncJobResultResponseParams `json:"Response"` }
func NewDescribeCheckSyncJobResultResponse ¶
func NewDescribeCheckSyncJobResultResponse() (response *DescribeCheckSyncJobResultResponse)
func (*DescribeCheckSyncJobResultResponse) FromJsonString ¶
func (r *DescribeCheckSyncJobResultResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCheckSyncJobResultResponse) ToJsonString ¶
func (r *DescribeCheckSyncJobResultResponse) ToJsonString() string
type DescribeCheckSyncJobResultResponseParams ¶
type DescribeCheckSyncJobResultResponseParams struct { // Execution status of the check task. Valid values: `notStarted`, `running`, `failed`, `success`. // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Total number of steps // Note: This field may return null, indicating that no valid values can be obtained. StepCount *uint64 `json:"StepCount,omitnil,omitempty" name:"StepCount"` // The current step // Note: This field may return null, indicating that no valid values can be obtained. StepCur *uint64 `json:"StepCur,omitnil,omitempty" name:"StepCur"` // Overall progress. Value range: 0-100. // Note: This field may return null, indicating that no valid values can be obtained. Progress *uint64 `json:"Progress,omitnil,omitempty" name:"Progress"` // Step information // Note: This field may return null, indicating that no valid values can be obtained. StepInfos []*StepInfo `json:"StepInfos,omitnil,omitempty" name:"StepInfos"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCompareReportRequest ¶
type DescribeCompareReportRequest struct { *tchttp.BaseRequest // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Check task ID CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` // Number of inconsistent objects to be returned DifferenceLimit *uint64 `json:"DifferenceLimit,omitnil,omitempty" name:"DifferenceLimit"` // Offset of inconsistent objects DifferenceOffset *uint64 `json:"DifferenceOffset,omitnil,omitempty" name:"DifferenceOffset"` // Search criterion: Inconsistent database name DifferenceDB *string `json:"DifferenceDB,omitnil,omitempty" name:"DifferenceDB"` // Search criterion: Inconsistent table name DifferenceTable *string `json:"DifferenceTable,omitnil,omitempty" name:"DifferenceTable"` // Number of unchecked objects to be returned SkippedLimit *uint64 `json:"SkippedLimit,omitnil,omitempty" name:"SkippedLimit"` // Offset of unchecked objects SkippedOffset *uint64 `json:"SkippedOffset,omitnil,omitempty" name:"SkippedOffset"` // Search criterion: Unchecked database name SkippedDB *string `json:"SkippedDB,omitnil,omitempty" name:"SkippedDB"` // Search criterion: Unchecked table name SkippedTable *string `json:"SkippedTable,omitnil,omitempty" name:"SkippedTable"` }
func NewDescribeCompareReportRequest ¶
func NewDescribeCompareReportRequest() (request *DescribeCompareReportRequest)
func (*DescribeCompareReportRequest) FromJsonString ¶
func (r *DescribeCompareReportRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCompareReportRequest) ToJsonString ¶
func (r *DescribeCompareReportRequest) ToJsonString() string
type DescribeCompareReportRequestParams ¶
type DescribeCompareReportRequestParams struct { // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Check task ID CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` // Number of inconsistent objects to be returned DifferenceLimit *uint64 `json:"DifferenceLimit,omitnil,omitempty" name:"DifferenceLimit"` // Offset of inconsistent objects DifferenceOffset *uint64 `json:"DifferenceOffset,omitnil,omitempty" name:"DifferenceOffset"` // Search criterion: Inconsistent database name DifferenceDB *string `json:"DifferenceDB,omitnil,omitempty" name:"DifferenceDB"` // Search criterion: Inconsistent table name DifferenceTable *string `json:"DifferenceTable,omitnil,omitempty" name:"DifferenceTable"` // Number of unchecked objects to be returned SkippedLimit *uint64 `json:"SkippedLimit,omitnil,omitempty" name:"SkippedLimit"` // Offset of unchecked objects SkippedOffset *uint64 `json:"SkippedOffset,omitnil,omitempty" name:"SkippedOffset"` // Search criterion: Unchecked database name SkippedDB *string `json:"SkippedDB,omitnil,omitempty" name:"SkippedDB"` // Search criterion: Unchecked table name SkippedTable *string `json:"SkippedTable,omitnil,omitempty" name:"SkippedTable"` }
Predefined struct for user
type DescribeCompareReportResponse ¶
type DescribeCompareReportResponse struct { *tchttp.BaseResponse Response *DescribeCompareReportResponseParams `json:"Response"` }
func NewDescribeCompareReportResponse ¶
func NewDescribeCompareReportResponse() (response *DescribeCompareReportResponse)
func (*DescribeCompareReportResponse) FromJsonString ¶
func (r *DescribeCompareReportResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCompareReportResponse) ToJsonString ¶
func (r *DescribeCompareReportResponse) ToJsonString() string
type DescribeCompareReportResponseParams ¶
type DescribeCompareReportResponseParams struct { // Summary information of data consistency check // Note: This field may return null, indicating that no valid values can be obtained. Abstract *CompareAbstractInfo `json:"Abstract,omitnil,omitempty" name:"Abstract"` // Data consistency check details // Note: This field may return null, indicating that no valid values can be obtained. Detail *CompareDetailInfo `json:"Detail,omitnil,omitempty" name:"Detail"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCompareTasksRequest ¶
type DescribeCompareTasksRequest struct { *tchttp.BaseRequest // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Number of tasks to be displayed per page. Default value: `20`. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Pagination offset Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Check task ID CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` // Data consistency check task status. Valid values: `created`, `readyRun`, `running`, `success`, `stopping`, `failed`, `canceled`. Status []*string `json:"Status,omitnil,omitempty" name:"Status"` }
func NewDescribeCompareTasksRequest ¶
func NewDescribeCompareTasksRequest() (request *DescribeCompareTasksRequest)
func (*DescribeCompareTasksRequest) FromJsonString ¶
func (r *DescribeCompareTasksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCompareTasksRequest) ToJsonString ¶
func (r *DescribeCompareTasksRequest) ToJsonString() string
type DescribeCompareTasksRequestParams ¶
type DescribeCompareTasksRequestParams struct { // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Number of tasks to be displayed per page. Default value: `20`. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Pagination offset Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Check task ID CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` // Data consistency check task status. Valid values: `created`, `readyRun`, `running`, `success`, `stopping`, `failed`, `canceled`. Status []*string `json:"Status,omitnil,omitempty" name:"Status"` }
Predefined struct for user
type DescribeCompareTasksResponse ¶
type DescribeCompareTasksResponse struct { *tchttp.BaseResponse Response *DescribeCompareTasksResponseParams `json:"Response"` }
func NewDescribeCompareTasksResponse ¶
func NewDescribeCompareTasksResponse() (response *DescribeCompareTasksResponse)
func (*DescribeCompareTasksResponse) FromJsonString ¶
func (r *DescribeCompareTasksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCompareTasksResponse) ToJsonString ¶
func (r *DescribeCompareTasksResponse) ToJsonString() string
type DescribeCompareTasksResponseParams ¶
type DescribeCompareTasksResponseParams struct { // Quantity // Note: This field may return null, indicating that no valid values can be obtained. TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // List of data consistency check tasks // Note: This field may return null, indicating that no valid values can be obtained. Items []*CompareTaskItem `json:"Items,omitnil,omitempty" name:"Items"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeConsumerGroupsRequest ¶
type DescribeConsumerGroupsRequest struct { *tchttp.BaseRequest // Subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` // Starting offset for returned results. Default value: 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of results to be returned at a time. Default value: 10. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeConsumerGroupsRequest ¶
func NewDescribeConsumerGroupsRequest() (request *DescribeConsumerGroupsRequest)
func (*DescribeConsumerGroupsRequest) FromJsonString ¶
func (r *DescribeConsumerGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConsumerGroupsRequest) ToJsonString ¶
func (r *DescribeConsumerGroupsRequest) ToJsonString() string
type DescribeConsumerGroupsRequestParams ¶
type DescribeConsumerGroupsRequestParams struct { // Subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` // Starting offset for returned results. Default value: 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of results to be returned at a time. Default value: 10. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeConsumerGroupsResponse ¶
type DescribeConsumerGroupsResponse struct { *tchttp.BaseResponse Response *DescribeConsumerGroupsResponseParams `json:"Response"` }
func NewDescribeConsumerGroupsResponse ¶
func NewDescribeConsumerGroupsResponse() (response *DescribeConsumerGroupsResponse)
func (*DescribeConsumerGroupsResponse) FromJsonString ¶
func (r *DescribeConsumerGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConsumerGroupsResponse) ToJsonString ¶
func (r *DescribeConsumerGroupsResponse) ToJsonString() string
type DescribeConsumerGroupsResponseParams ¶
type DescribeConsumerGroupsResponseParams struct { // Total number of consumer groups under the specific instance TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Consumer group list Items []*GroupInfo `json:"Items,omitnil,omitempty" name:"Items"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMigrateDBInstancesRequest ¶
type DescribeMigrateDBInstancesRequest struct { *tchttp.BaseRequest // Database type, such as `mysql`. DatabaseType *string `json:"DatabaseType,omitnil,omitempty" name:"DatabaseType"` // Specifies whether the instance is the migration source or target. Valid values: `src` (source); `dts` (target). MigrateRole *string `json:"MigrateRole,omitnil,omitempty" name:"MigrateRole"` // Database instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Database instance name InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Number of results to be returned Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Offset Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // The account to which the resource belongs. Valid values: empty or `self` (the current account); `other` (another account). AccountMode *string `json:"AccountMode,omitnil,omitempty" name:"AccountMode"` // ID of the temporary key, which is required if the operation is performed across accounts. TmpSecretId *string `json:"TmpSecretId,omitnil,omitempty" name:"TmpSecretId"` // Key of the temporary key, which is required if the operation is performed across accounts. TmpSecretKey *string `json:"TmpSecretKey,omitnil,omitempty" name:"TmpSecretKey"` // Temporary token, which is required if the operation is performed across accounts. TmpToken *string `json:"TmpToken,omitnil,omitempty" name:"TmpToken"` }
func NewDescribeMigrateDBInstancesRequest ¶
func NewDescribeMigrateDBInstancesRequest() (request *DescribeMigrateDBInstancesRequest)
func (*DescribeMigrateDBInstancesRequest) FromJsonString ¶
func (r *DescribeMigrateDBInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMigrateDBInstancesRequest) ToJsonString ¶
func (r *DescribeMigrateDBInstancesRequest) ToJsonString() string
type DescribeMigrateDBInstancesRequestParams ¶
type DescribeMigrateDBInstancesRequestParams struct { // Database type, such as `mysql`. DatabaseType *string `json:"DatabaseType,omitnil,omitempty" name:"DatabaseType"` // Specifies whether the instance is the migration source or target. Valid values: `src` (source); `dts` (target). MigrateRole *string `json:"MigrateRole,omitnil,omitempty" name:"MigrateRole"` // Database instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Database instance name InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Number of results to be returned Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Offset Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // The account to which the resource belongs. Valid values: empty or `self` (the current account); `other` (another account). AccountMode *string `json:"AccountMode,omitnil,omitempty" name:"AccountMode"` // ID of the temporary key, which is required if the operation is performed across accounts. TmpSecretId *string `json:"TmpSecretId,omitnil,omitempty" name:"TmpSecretId"` // Key of the temporary key, which is required if the operation is performed across accounts. TmpSecretKey *string `json:"TmpSecretKey,omitnil,omitempty" name:"TmpSecretKey"` // Temporary token, which is required if the operation is performed across accounts. TmpToken *string `json:"TmpToken,omitnil,omitempty" name:"TmpToken"` }
Predefined struct for user
type DescribeMigrateDBInstancesResponse ¶
type DescribeMigrateDBInstancesResponse struct { *tchttp.BaseResponse Response *DescribeMigrateDBInstancesResponseParams `json:"Response"` }
func NewDescribeMigrateDBInstancesResponse ¶
func NewDescribeMigrateDBInstancesResponse() (response *DescribeMigrateDBInstancesResponse)
func (*DescribeMigrateDBInstancesResponse) FromJsonString ¶
func (r *DescribeMigrateDBInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMigrateDBInstancesResponse) ToJsonString ¶
func (r *DescribeMigrateDBInstancesResponse) ToJsonString() string
type DescribeMigrateDBInstancesResponseParams ¶
type DescribeMigrateDBInstancesResponseParams struct { // Number of eligible items // Note: This field may return null, indicating that no valid values can be obtained. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Instance list // Note: This field may return null, indicating that no valid values can be obtained. Instances []*MigrateDBItem `json:"Instances,omitnil,omitempty" name:"Instances"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMigrationCheckJobRequest ¶
type DescribeMigrationCheckJobRequest struct { *tchttp.BaseRequest // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewDescribeMigrationCheckJobRequest ¶
func NewDescribeMigrationCheckJobRequest() (request *DescribeMigrationCheckJobRequest)
func (*DescribeMigrationCheckJobRequest) FromJsonString ¶
func (r *DescribeMigrationCheckJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMigrationCheckJobRequest) ToJsonString ¶
func (r *DescribeMigrationCheckJobRequest) ToJsonString() string
type DescribeMigrationCheckJobRequestParams ¶
type DescribeMigrationCheckJobRequestParams struct { // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type DescribeMigrationCheckJobResponse ¶
type DescribeMigrationCheckJobResponse struct { *tchttp.BaseResponse Response *DescribeMigrationCheckJobResponseParams `json:"Response"` }
func NewDescribeMigrationCheckJobResponse ¶
func NewDescribeMigrationCheckJobResponse() (response *DescribeMigrationCheckJobResponse)
func (*DescribeMigrationCheckJobResponse) FromJsonString ¶
func (r *DescribeMigrationCheckJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMigrationCheckJobResponse) ToJsonString ¶
func (r *DescribeMigrationCheckJobResponse) ToJsonString() string
type DescribeMigrationCheckJobResponseParams ¶
type DescribeMigrationCheckJobResponseParams struct { // Check task execution status. Valid values: `notStarted`, `running`, `failed`, `success`. // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Check task result message // Note: This field may return null, indicating that no valid values can be obtained. BriefMsg *string `json:"BriefMsg,omitnil,omitempty" name:"BriefMsg"` // Check step // Note: This field may return null, indicating that no valid values can be obtained. StepInfo []*CheckStep `json:"StepInfo,omitnil,omitempty" name:"StepInfo"` // Check result. Valid values: `checkPass`, `checkNotPass`. CheckFlag *string `json:"CheckFlag,omitnil,omitempty" name:"CheckFlag"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMigrationDetailRequest ¶
type DescribeMigrationDetailRequest struct { *tchttp.BaseRequest // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewDescribeMigrationDetailRequest ¶
func NewDescribeMigrationDetailRequest() (request *DescribeMigrationDetailRequest)
func (*DescribeMigrationDetailRequest) FromJsonString ¶
func (r *DescribeMigrationDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMigrationDetailRequest) ToJsonString ¶
func (r *DescribeMigrationDetailRequest) ToJsonString() string
type DescribeMigrationDetailRequestParams ¶
type DescribeMigrationDetailRequestParams struct { // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type DescribeMigrationDetailResponse ¶
type DescribeMigrationDetailResponse struct { *tchttp.BaseResponse Response *DescribeMigrationDetailResponseParams `json:"Response"` }
func NewDescribeMigrationDetailResponse ¶
func NewDescribeMigrationDetailResponse() (response *DescribeMigrationDetailResponse)
func (*DescribeMigrationDetailResponse) FromJsonString ¶
func (r *DescribeMigrationDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMigrationDetailResponse) ToJsonString ¶
func (r *DescribeMigrationDetailResponse) ToJsonString() string
type DescribeMigrationDetailResponseParams ¶
type DescribeMigrationDetailResponseParams struct { // Data migration task ID // Note: This field may return null, indicating that no valid values can be obtained. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data migration task name // Note: This field may return null, indicating that no valid values can be obtained. JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // Task creation (submission) time in the format of `yyyy-mm-dd hh:mm:ss` // Note: This field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Task update time in the format of `yyyy-mm-dd hh:mm:ss` // Note: This field may return null, indicating that no valid values can be obtained. UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // Task start time in the format of `yyyy-mm-dd hh:mm:ss` // Note: This field may return null, indicating that no valid values can be obtained. StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Task end time in the format of `yyyy-mm-dd hh:mm:ss` // Note: This field may return null, indicating that no valid values can be obtained. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Migration task error message // Note: This field may return null, indicating that no valid values can be obtained. BriefMsg *string `json:"BriefMsg,omitnil,omitempty" name:"BriefMsg"` // Task status. Valid values: `created`(Created), `checking` (Checking), `checkPass` (Check passed), `checkNotPass` (Check not passed), `readyRun` (Ready for running), `running` (Running), `readyComplete` (Preparation completed), `success` (Successful), `failed` (Failed), `stopping` (Stopping), `completing` (Completing), `pausing` (Pausing), `manualPaused` (Paused). Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Task operation information // Note: This field may return null, indicating that no valid values can be obtained. Action *MigrateAction `json:"Action,omitnil,omitempty" name:"Action"` // Information of the migration task execution process. The check and migration step information will be displayed in the check and migration stages respectively. // Note: This field may return null, indicating that no valid values can be obtained. StepInfo *MigrateDetailInfo `json:"StepInfo,omitnil,omitempty" name:"StepInfo"` // Source instance information // Note: This field may return null, indicating that no valid values can be obtained. SrcInfo *DBEndpointInfo `json:"SrcInfo,omitnil,omitempty" name:"SrcInfo"` // Target database information // Note: This field may return null, indicating that no valid values can be obtained. DstInfo *DBEndpointInfo `json:"DstInfo,omitnil,omitempty" name:"DstInfo"` // Data consistency check result // Note: This field may return null, indicating that no valid values can be obtained. CompareTask *CompareTaskInfo `json:"CompareTask,omitnil,omitempty" name:"CompareTask"` // Tag information // Note: This field may return null, indicating that no valid values can be obtained. Tags []*TagItem `json:"Tags,omitnil,omitempty" name:"Tags"` // Running mode. Valid values: `immediate`, `timed`. // Note: This field may return null, indicating that no valid values can be obtained. RunMode *string `json:"RunMode,omitnil,omitempty" name:"RunMode"` // Expected start time in the format of "2006-01-02 15:04:05", which is required if `RunMode` is `timed`. // Note: This field may return null, indicating that no valid values can be obtained. ExpectRunTime *string `json:"ExpectRunTime,omitnil,omitempty" name:"ExpectRunTime"` // Migration options, which describe how the task performs migration. // Note: This field may return null, indicating that no valid values can be obtained. MigrateOption *MigrateOption `json:"MigrateOption,omitnil,omitempty" name:"MigrateOption"` // Check task running details // Note: This field may return null, indicating that no valid values can be obtained. CheckStepInfo *CheckStepInfo `json:"CheckStepInfo,omitnil,omitempty" name:"CheckStepInfo"` // Billing information // Note: This field may return null, indicating that no valid values can be obtained. TradeInfo *TradeInfo `json:"TradeInfo,omitnil,omitempty" name:"TradeInfo"` // Task error information // Note: This field may return null, indicating that no valid values can be obtained. ErrorInfo []*ErrorInfoItem `json:"ErrorInfo,omitnil,omitempty" name:"ErrorInfo"` // Whether the task can be reentered in the full export stage. Valid values: `yes`, `no`. `yes`: The current task can be reentered. `no`: The current task is in the full export stage which cannot be reentered. If the value of this parameter is `no`, the checkpoint restart is not supported when the task is restarted in the export stage. DumperResumeCtrl *string `json:"DumperResumeCtrl,omitnil,omitempty" name:"DumperResumeCtrl"` // Task throttling information // Note: This field may return null, indicating that no valid values can be obtained. RateLimitOption *RateLimitOption `json:"RateLimitOption,omitnil,omitempty" name:"RateLimitOption"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMigrationJobsRequest ¶
type DescribeMigrationJobsRequest struct { *tchttp.BaseRequest // Data migration task ID such as `dts-amm1jw5q` JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data migration task name JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // Data migration task status. Valid values: `created`, `checking`, `checkPass`, `checkNotPass`, `readyRun`, `running`, `readyComplete`, `success`, `failed`, `stopping`, `completing`. Status []*string `json:"Status,omitnil,omitempty" name:"Status"` // Source instance ID in the format of `cdb-c1nl9rpv` SrcInstanceId *string `json:"SrcInstanceId,omitnil,omitempty" name:"SrcInstanceId"` // Source instance region, such as `ap-guangzhou`. SrcRegion *string `json:"SrcRegion,omitnil,omitempty" name:"SrcRegion"` // Source database type, such as `sqlserver`, `mysql`, `mongodb`, `redis`, `tendis`, `keewidb`, `clickhouse`, `cynosdbmysql`, `percona`, `tdsqlpercona`, `mariadb`, `tdsqlmysql`, `postgresql. SrcDatabaseType []*string `json:"SrcDatabaseType,omitnil,omitempty" name:"SrcDatabaseType"` // Source instance access type. Valid values: `extranet` (public network); `vpncloud` (VPN access); `dcg` (Direct Connect); `ccn` (CCN); `cdb` (Database); `cvm` (self-build on CVM). SrcAccessType []*string `json:"SrcAccessType,omitnil,omitempty" name:"SrcAccessType"` // Target instance ID in the format of `cdb-c1nl9rpv` DstInstanceId *string `json:"DstInstanceId,omitnil,omitempty" name:"DstInstanceId"` // Target instance region, such as `ap-guangzhou`. DstRegion *string `json:"DstRegion,omitnil,omitempty" name:"DstRegion"` // Target database type, such as `sqlserver`, `mysql`, `mongodb`, `redis`, `tendis`, `keewidb`, `clickhouse`, `cynosdbmysql`, `percona`, `tdsqlpercona`, `mariadb`, `tdsqlmysql`, `postgresql. DstDatabaseType []*string `json:"DstDatabaseType,omitnil,omitempty" name:"DstDatabaseType"` // Target instance access type. Valid values: `extranet` (public network); `vpncloud` (VPN access); `dcg` (Direct Connect); `ccn` (CCN); `cdb` (Database); `cvm` (self-build on CVM). DstAccessType []*string `json:"DstAccessType,omitnil,omitempty" name:"DstAccessType"` // Task running mode. Valid values: `immediate`, `timed`. RunMode *string `json:"RunMode,omitnil,omitempty" name:"RunMode"` // Sorting order. Valid values: `asc`, `desc`. Default value: `desc` by creation time. OrderSeq *string `json:"OrderSeq,omitnil,omitempty" name:"OrderSeq"` // Number of instances to be returned. Value range: [1,100]. Default value: `20`. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Offset. Default value: `0`. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Tag filter TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"` }
func NewDescribeMigrationJobsRequest ¶
func NewDescribeMigrationJobsRequest() (request *DescribeMigrationJobsRequest)
func (*DescribeMigrationJobsRequest) FromJsonString ¶
func (r *DescribeMigrationJobsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMigrationJobsRequest) ToJsonString ¶
func (r *DescribeMigrationJobsRequest) ToJsonString() string
type DescribeMigrationJobsRequestParams ¶
type DescribeMigrationJobsRequestParams struct { // Data migration task ID such as `dts-amm1jw5q` JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data migration task name JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // Data migration task status. Valid values: `created`, `checking`, `checkPass`, `checkNotPass`, `readyRun`, `running`, `readyComplete`, `success`, `failed`, `stopping`, `completing`. Status []*string `json:"Status,omitnil,omitempty" name:"Status"` // Source instance ID in the format of `cdb-c1nl9rpv` SrcInstanceId *string `json:"SrcInstanceId,omitnil,omitempty" name:"SrcInstanceId"` // Source instance region, such as `ap-guangzhou`. SrcRegion *string `json:"SrcRegion,omitnil,omitempty" name:"SrcRegion"` // Source database type, such as `sqlserver`, `mysql`, `mongodb`, `redis`, `tendis`, `keewidb`, `clickhouse`, `cynosdbmysql`, `percona`, `tdsqlpercona`, `mariadb`, `tdsqlmysql`, `postgresql. SrcDatabaseType []*string `json:"SrcDatabaseType,omitnil,omitempty" name:"SrcDatabaseType"` // Source instance access type. Valid values: `extranet` (public network); `vpncloud` (VPN access); `dcg` (Direct Connect); `ccn` (CCN); `cdb` (Database); `cvm` (self-build on CVM). SrcAccessType []*string `json:"SrcAccessType,omitnil,omitempty" name:"SrcAccessType"` // Target instance ID in the format of `cdb-c1nl9rpv` DstInstanceId *string `json:"DstInstanceId,omitnil,omitempty" name:"DstInstanceId"` // Target instance region, such as `ap-guangzhou`. DstRegion *string `json:"DstRegion,omitnil,omitempty" name:"DstRegion"` // Target database type, such as `sqlserver`, `mysql`, `mongodb`, `redis`, `tendis`, `keewidb`, `clickhouse`, `cynosdbmysql`, `percona`, `tdsqlpercona`, `mariadb`, `tdsqlmysql`, `postgresql. DstDatabaseType []*string `json:"DstDatabaseType,omitnil,omitempty" name:"DstDatabaseType"` // Target instance access type. Valid values: `extranet` (public network); `vpncloud` (VPN access); `dcg` (Direct Connect); `ccn` (CCN); `cdb` (Database); `cvm` (self-build on CVM). DstAccessType []*string `json:"DstAccessType,omitnil,omitempty" name:"DstAccessType"` // Task running mode. Valid values: `immediate`, `timed`. RunMode *string `json:"RunMode,omitnil,omitempty" name:"RunMode"` // Sorting order. Valid values: `asc`, `desc`. Default value: `desc` by creation time. OrderSeq *string `json:"OrderSeq,omitnil,omitempty" name:"OrderSeq"` // Number of instances to be returned. Value range: [1,100]. Default value: `20`. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Offset. Default value: `0`. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Tag filter TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"` }
Predefined struct for user
type DescribeMigrationJobsResponse ¶
type DescribeMigrationJobsResponse struct { *tchttp.BaseResponse Response *DescribeMigrationJobsResponseParams `json:"Response"` }
func NewDescribeMigrationJobsResponse ¶
func NewDescribeMigrationJobsResponse() (response *DescribeMigrationJobsResponse)
func (*DescribeMigrationJobsResponse) FromJsonString ¶
func (r *DescribeMigrationJobsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMigrationJobsResponse) ToJsonString ¶
func (r *DescribeMigrationJobsResponse) ToJsonString() string
type DescribeMigrationJobsResponseParams ¶
type DescribeMigrationJobsResponseParams struct { // Number of migration tasks // Note: This field may return null, indicating that no valid values can be obtained. TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Migration task list // Note: This field may return null, indicating that no valid values can be obtained. JobList []*JobItem `json:"JobList,omitnil,omitempty" name:"JobList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeModifyCheckSyncJobResultRequest ¶
type DescribeModifyCheckSyncJobResultRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewDescribeModifyCheckSyncJobResultRequest ¶
func NewDescribeModifyCheckSyncJobResultRequest() (request *DescribeModifyCheckSyncJobResultRequest)
func (*DescribeModifyCheckSyncJobResultRequest) FromJsonString ¶
func (r *DescribeModifyCheckSyncJobResultRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeModifyCheckSyncJobResultRequest) ToJsonString ¶
func (r *DescribeModifyCheckSyncJobResultRequest) ToJsonString() string
type DescribeModifyCheckSyncJobResultRequestParams ¶
type DescribeModifyCheckSyncJobResultRequestParams struct { // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type DescribeModifyCheckSyncJobResultResponse ¶
type DescribeModifyCheckSyncJobResultResponse struct { *tchttp.BaseResponse Response *DescribeModifyCheckSyncJobResultResponseParams `json:"Response"` }
func NewDescribeModifyCheckSyncJobResultResponse ¶
func NewDescribeModifyCheckSyncJobResultResponse() (response *DescribeModifyCheckSyncJobResultResponse)
func (*DescribeModifyCheckSyncJobResultResponse) FromJsonString ¶
func (r *DescribeModifyCheckSyncJobResultResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeModifyCheckSyncJobResultResponse) ToJsonString ¶
func (r *DescribeModifyCheckSyncJobResultResponse) ToJsonString() string
type DescribeModifyCheckSyncJobResultResponseParams ¶
type DescribeModifyCheckSyncJobResultResponseParams struct { // Execution status of the check task Valid values: `notStarted` (Not started), `running` (Running), `failed` (Failed), `success` (Successful). Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Number of check steps Note: This field may return null, indicating that no valid values can be obtained. StepCount *uint64 `json:"StepCount,omitnil,omitempty" name:"StepCount"` // Current step Note: This field may return null, indicating that no valid values can be obtained. StepCur *uint64 `json:"StepCur,omitnil,omitempty" name:"StepCur"` // Overall progress. Value range: 0-100. Note: This field may return null, indicating that no valid values can be obtained. Progress *uint64 `json:"Progress,omitnil,omitempty" name:"Progress"` // Step details Note: This field may return null, indicating that no valid values can be obtained. StepInfos []*StepInfo `json:"StepInfos,omitnil,omitempty" name:"StepInfos"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeOffsetByTimeRequest ¶
type DescribeOffsetByTimeRequest struct { *tchttp.BaseRequest // Data subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` // Timestamp, the format is: Y-m-d h:m:s. If the input time is much later than the current time, this is equivalent to the latest offset; if the input time is much earlier than the current time, this is equivalent to the oldest offset; if the input is empty, the default time is 0, which is the oldest offset to be queried. Time *string `json:"Time,omitnil,omitempty" name:"Time"` }
func NewDescribeOffsetByTimeRequest ¶
func NewDescribeOffsetByTimeRequest() (request *DescribeOffsetByTimeRequest)
func (*DescribeOffsetByTimeRequest) FromJsonString ¶
func (r *DescribeOffsetByTimeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeOffsetByTimeRequest) ToJsonString ¶
func (r *DescribeOffsetByTimeRequest) ToJsonString() string
type DescribeOffsetByTimeRequestParams ¶
type DescribeOffsetByTimeRequestParams struct { // Data subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` // Timestamp, the format is: Y-m-d h:m:s. If the input time is much later than the current time, this is equivalent to the latest offset; if the input time is much earlier than the current time, this is equivalent to the oldest offset; if the input is empty, the default time is 0, which is the oldest offset to be queried. Time *string `json:"Time,omitnil,omitempty" name:"Time"` }
Predefined struct for user
type DescribeOffsetByTimeResponse ¶
type DescribeOffsetByTimeResponse struct { *tchttp.BaseResponse Response *DescribeOffsetByTimeResponseParams `json:"Response"` }
func NewDescribeOffsetByTimeResponse ¶
func NewDescribeOffsetByTimeResponse() (response *DescribeOffsetByTimeResponse)
func (*DescribeOffsetByTimeResponse) FromJsonString ¶
func (r *DescribeOffsetByTimeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeOffsetByTimeResponse) ToJsonString ¶
func (r *DescribeOffsetByTimeResponse) ToJsonString() string
type DescribeOffsetByTimeResponseParams ¶
type DescribeOffsetByTimeResponseParams struct { // Time and Offset response. Items []*OffsetTimeMap `json:"Items,omitnil,omitempty" name:"Items"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSubscribeCheckJobRequest ¶
type DescribeSubscribeCheckJobRequest struct { *tchttp.BaseRequest // Data subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` }
func NewDescribeSubscribeCheckJobRequest ¶
func NewDescribeSubscribeCheckJobRequest() (request *DescribeSubscribeCheckJobRequest)
func (*DescribeSubscribeCheckJobRequest) FromJsonString ¶
func (r *DescribeSubscribeCheckJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSubscribeCheckJobRequest) ToJsonString ¶
func (r *DescribeSubscribeCheckJobRequest) ToJsonString() string
type DescribeSubscribeCheckJobRequestParams ¶
type DescribeSubscribeCheckJobRequestParams struct { // Data subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` }
Predefined struct for user
type DescribeSubscribeCheckJobResponse ¶
type DescribeSubscribeCheckJobResponse struct { *tchttp.BaseResponse Response *DescribeSubscribeCheckJobResponseParams `json:"Response"` }
func NewDescribeSubscribeCheckJobResponse ¶
func NewDescribeSubscribeCheckJobResponse() (response *DescribeSubscribeCheckJobResponse)
func (*DescribeSubscribeCheckJobResponse) FromJsonString ¶
func (r *DescribeSubscribeCheckJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSubscribeCheckJobResponse) ToJsonString ¶
func (r *DescribeSubscribeCheckJobResponse) ToJsonString() string
type DescribeSubscribeCheckJobResponseParams ¶
type DescribeSubscribeCheckJobResponseParams struct { // Subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` // Failure or error prompts, success signals 'success'. // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Job running status. Valid values: running, failed, success. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Current overall progress. Value range: 0-100. Progress *uint64 `json:"Progress,omitnil,omitempty" name:"Progress"` // Total check steps StepAll *uint64 `json:"StepAll,omitnil,omitempty" name:"StepAll"` // Current step in execution StepNow *uint64 `json:"StepNow,omitnil,omitempty" name:"StepNow"` // Running status of each stepNote: This field may return null, indicating that no valid values can be obtained. Steps []*SubscribeCheckStepInfo `json:"Steps,omitnil,omitempty" name:"Steps"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSubscribeDetailRequest ¶
type DescribeSubscribeDetailRequest struct { *tchttp.BaseRequest // Subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` }
func NewDescribeSubscribeDetailRequest ¶
func NewDescribeSubscribeDetailRequest() (request *DescribeSubscribeDetailRequest)
func (*DescribeSubscribeDetailRequest) FromJsonString ¶
func (r *DescribeSubscribeDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSubscribeDetailRequest) ToJsonString ¶
func (r *DescribeSubscribeDetailRequest) ToJsonString() string
type DescribeSubscribeDetailRequestParams ¶
type DescribeSubscribeDetailRequestParams struct { // Subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` }
Predefined struct for user
type DescribeSubscribeDetailResponse ¶
type DescribeSubscribeDetailResponse struct { *tchttp.BaseResponse Response *DescribeSubscribeDetailResponseParams `json:"Response"` }
func NewDescribeSubscribeDetailResponse ¶
func NewDescribeSubscribeDetailResponse() (response *DescribeSubscribeDetailResponse)
func (*DescribeSubscribeDetailResponse) FromJsonString ¶
func (r *DescribeSubscribeDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSubscribeDetailResponse) ToJsonString ¶
func (r *DescribeSubscribeDetailResponse) ToJsonString() string
type DescribeSubscribeDetailResponseParams ¶
type DescribeSubscribeDetailResponseParams struct { // The ID of the data subscription, such as subs-b6x64o31tm SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` // Data subscription instance name SubscribeName *string `json:"SubscribeName,omitnil,omitempty" name:"SubscribeName"` // Subscription database type. Currently, cynosdbmysql, mariadb, mongodb, mysql, percona, tdpg, tdsqlpercona are supported. Product *string `json:"Product,omitnil,omitempty" name:"Product"` // The subscribed cloud database instance ID. This value only makes sense if cloud database is subscribed. Note: This field may return null, indicating that no valid values can be obtained. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // The subscribed cloud database instance status. This value only makes sense if cloud database is subscribed. Valid values: running, isolated, offline.Note: This field may return null, indicating that no valid values can be obtained. InstanceStatus *string `json:"InstanceStatus,omitnil,omitempty" name:"InstanceStatus"` // Subscription task billing status. Valid values: normal, isolating, isolated, offline, post2PrePayIng. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Subscription task status. Valid values: notStarted, checking, checkNotPass, checkPass, starting, running, error. SubsStatus *string `json:"SubsStatus,omitnil,omitempty" name:"SubsStatus"` // Modification time, the format is: Y-m-d h:m:s.Note: This field may return null, indicating that no valid values can be obtained. ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"` // Creation time, the format is: Y-m-d h:m:s.Note: This field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Isolation time, the format is: Y-m-d h:m:s. Default time: 0000-00-00 00:00:00.Note: This field may return null, indicating that no valid values can be obtained. IsolateTime *string `json:"IsolateTime,omitnil,omitempty" name:"IsolateTime"` // Expiration time for monthly subscription tasks, the format is: Y-m-d h:m:s. Default time: 0000-00-00 00:00:00.Note: This field may return null, indicating that no valid values can be obtained. ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` // Offline time, the format is: Y-m-d h:m:s. Default time: 0000-00-00 00:00:00.Note: This field may return null, indicating that no valid values can be obtained. OfflineTime *string `json:"OfflineTime,omitnil,omitempty" name:"OfflineTime"` // Payment method. Valid values: 0 (monthly subscription); 1 (pay-as-you-go). PayType *int64 `json:"PayType,omitnil,omitempty" name:"PayType"` // Auto-renewal flag. It is meaningful only when PayType=0. Valid values: 0 (auto-renewal disabled); 1 (auto-renewal enabled). AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // The region where the task is located Region *string `json:"Region,omitnil,omitempty" name:"Region"` // Kafka topic // Note: This field may return null, indicating that no valid values can be obtained. Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"` // Broker address of Kafka serviceNote: This field may return null, indicating that no valid values can be obtained. Broker *string `json:"Broker,omitnil,omitempty" name:"Broker"` // Data subscription type. Valid values for non-mongo Product: all (full instance update); dml (data update); ddl (structure update); dmlAndDdl (data + structure update). Valid values for mongo Product: all (full instance update); database (subscribe to a table); collection (subscribe to a collection).Note: This field may return null, indicating that no valid values can be obtained. SubscribeMode *string `json:"SubscribeMode,omitnil,omitempty" name:"SubscribeMode"` // Subscription data format. If it is empty, the default format is used: mysql\cynosdbmysql\mariadb\percona\tdsqlpercona\tdpg is protobuf, mongo is json. When DatabaseType is mysql and cynosdbmysql, there are three optional protocols: protobuf\avro\json. For details on data format, please refer to the consumption demo documentation on the official website.Note: This field may return null, indicating that no valid values can be obtained. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Information of subscribed tableNote: This field may return null, indicating that no valid values can be obtained. SubscribeObjects []*SubscribeObject `json:"SubscribeObjects,omitnil,omitempty" name:"SubscribeObjects"` // Kafka configuration information // Note: This field may return null, indicating that no valid values can be obtained. KafkaConfig *SubscribeKafkaConfig `json:"KafkaConfig,omitnil,omitempty" name:"KafkaConfig"` // Source database access type. Valid values: extranet (public network); vpncloud (VPN access); dcg (Direct Connect); ccn (CCN); cdb (database); cvm (self-build on CVM); intranet (intranet); vpc (VPC). Note: The specific optional values depend on the current link support capabilities.Note: This field may return null, indicating that no valid values can be obtained. AccessType *string `json:"AccessType,omitnil,omitempty" name:"AccessType"` // Access type information // Note: This field may return null, indicating that no valid values can be obtained. Endpoints []*EndpointItem `json:"Endpoints,omitnil,omitempty" name:"Endpoints"` // Mongo output aggregation settings // Note: This field may return null, indicating that no valid values can be obtained. PipelineInfo []*PipelineInfo `json:"PipelineInfo,omitnil,omitempty" name:"PipelineInfo"` // TagNote: This field may return null, indicating that no valid values can be obtained. Tags []*TagItem `json:"Tags,omitnil,omitempty" name:"Tags"` // Subscription task error information // Note: This field may return null, indicating that no valid values can be obtained. Errors []*SubsErr `json:"Errors,omitnil,omitempty" name:"Errors"` // Additional information added for the business. The parameter name is called key, and the parameter value is called value.Optional parameters for mysql: ProcessXA. Fill in true to process, others will not be processed.Optional parameters for mongo: SubscribeType. Currently only changeStream is supported.Note: This field may return null, indicating that no valid values can be obtained. ExtraAttr []*KeyValuePairOption `json:"ExtraAttr,omitnil,omitempty" name:"ExtraAttr"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSubscribeJobsRequest ¶
type DescribeSubscribeJobsRequest struct { *tchttp.BaseRequest // Subscription ID (exact match) SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` // Subscription name (prefix fuzzy match) SubscribeName *string `json:"SubscribeName,omitnil,omitempty" name:"SubscribeName"` // Subscribed cloud database instance ID (exact match) InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Payment method. Valid values: 0 (monthly subscription); 1 (pay-as-you-go). PayType *int64 `json:"PayType,omitnil,omitempty" name:"PayType"` // Subscribed database product. Currently, cynosdbmysql, mariadb, mongodb, mysql, percona, tdpg, tdsqlpercona are supported. Product *string `json:"Product,omitnil,omitempty" name:"Product"` // Data subscription lifecycle status. Valid values: normal, isolating, isolated, offline, post2PrePayIng. Status []*string `json:"Status,omitnil,omitempty" name:"Status"` // Data subscription status. Valid values: notStarted, checking, checkNotPass, checkPass, starting, running, error. SubsStatus []*string `json:"SubsStatus,omitnil,omitempty" name:"SubsStatus"` // Starting offset for returned results. Default value: 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of results to be returned at a time. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Sorting order. Valid values: DESC, ASC. Default value: DESC, indicating descending by creation time. OrderDirection *string `json:"OrderDirection,omitnil,omitempty" name:"OrderDirection"` // Tag filter condition, the relationship between multiple TagFilters is and. TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"` }
func NewDescribeSubscribeJobsRequest ¶
func NewDescribeSubscribeJobsRequest() (request *DescribeSubscribeJobsRequest)
func (*DescribeSubscribeJobsRequest) FromJsonString ¶
func (r *DescribeSubscribeJobsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSubscribeJobsRequest) ToJsonString ¶
func (r *DescribeSubscribeJobsRequest) ToJsonString() string
type DescribeSubscribeJobsRequestParams ¶
type DescribeSubscribeJobsRequestParams struct { // Subscription ID (exact match) SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` // Subscription name (prefix fuzzy match) SubscribeName *string `json:"SubscribeName,omitnil,omitempty" name:"SubscribeName"` // Subscribed cloud database instance ID (exact match) InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Payment method. Valid values: 0 (monthly subscription); 1 (pay-as-you-go). PayType *int64 `json:"PayType,omitnil,omitempty" name:"PayType"` // Subscribed database product. Currently, cynosdbmysql, mariadb, mongodb, mysql, percona, tdpg, tdsqlpercona are supported. Product *string `json:"Product,omitnil,omitempty" name:"Product"` // Data subscription lifecycle status. Valid values: normal, isolating, isolated, offline, post2PrePayIng. Status []*string `json:"Status,omitnil,omitempty" name:"Status"` // Data subscription status. Valid values: notStarted, checking, checkNotPass, checkPass, starting, running, error. SubsStatus []*string `json:"SubsStatus,omitnil,omitempty" name:"SubsStatus"` // Starting offset for returned results. Default value: 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of results to be returned at a time. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Sorting order. Valid values: DESC, ASC. Default value: DESC, indicating descending by creation time. OrderDirection *string `json:"OrderDirection,omitnil,omitempty" name:"OrderDirection"` // Tag filter condition, the relationship between multiple TagFilters is and. TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"` }
Predefined struct for user
type DescribeSubscribeJobsResponse ¶
type DescribeSubscribeJobsResponse struct { *tchttp.BaseResponse Response *DescribeSubscribeJobsResponseParams `json:"Response"` }
func NewDescribeSubscribeJobsResponse ¶
func NewDescribeSubscribeJobsResponse() (response *DescribeSubscribeJobsResponse)
func (*DescribeSubscribeJobsResponse) FromJsonString ¶
func (r *DescribeSubscribeJobsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSubscribeJobsResponse) ToJsonString ¶
func (r *DescribeSubscribeJobsResponse) ToJsonString() string
type DescribeSubscribeJobsResponseParams ¶
type DescribeSubscribeJobsResponseParams struct { // Number of eligible instances. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Information list of data subscription instances Items []*SubscribeInfo `json:"Items,omitnil,omitempty" name:"Items"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSubscribeReturnableRequest ¶
type DescribeSubscribeReturnableRequest struct { *tchttp.BaseRequest // Data subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` }
func NewDescribeSubscribeReturnableRequest ¶
func NewDescribeSubscribeReturnableRequest() (request *DescribeSubscribeReturnableRequest)
func (*DescribeSubscribeReturnableRequest) FromJsonString ¶
func (r *DescribeSubscribeReturnableRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSubscribeReturnableRequest) ToJsonString ¶
func (r *DescribeSubscribeReturnableRequest) ToJsonString() string
type DescribeSubscribeReturnableRequestParams ¶
type DescribeSubscribeReturnableRequestParams struct { // Data subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` }
Predefined struct for user
type DescribeSubscribeReturnableResponse ¶
type DescribeSubscribeReturnableResponse struct { *tchttp.BaseResponse Response *DescribeSubscribeReturnableResponseParams `json:"Response"` }
func NewDescribeSubscribeReturnableResponse ¶
func NewDescribeSubscribeReturnableResponse() (response *DescribeSubscribeReturnableResponse)
func (*DescribeSubscribeReturnableResponse) FromJsonString ¶
func (r *DescribeSubscribeReturnableResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSubscribeReturnableResponse) ToJsonString ¶
func (r *DescribeSubscribeReturnableResponse) ToJsonString() string
type DescribeSubscribeReturnableResponseParams ¶
type DescribeSubscribeReturnableResponseParams struct { // Whether the instance is returnable IsReturnable *bool `json:"IsReturnable,omitnil,omitempty" name:"IsReturnable"` // Reason for the non-returnability // Note: This field may return null, indicating that no valid values can be obtained. ReturnFailMessage *string `json:"ReturnFailMessage,omitnil,omitempty" name:"ReturnFailMessage"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSyncJobsRequest ¶
type DescribeSyncJobsRequest struct { *tchttp.BaseRequest // Sync task ID, such as `sync-werwfs23`. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Sync task name JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // Sort by field, such as `CreateTime`. Order *string `json:"Order,omitnil,omitempty" name:"Order"` // Sorting order. Valid values: `ASC`, `DESC`. Default value: `DESC` by `CreateTime`. OrderSeq *string `json:"OrderSeq,omitnil,omitempty" name:"OrderSeq"` // Offset. Default value: `0`. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of sync task instances to be returned. Value range: [1,100]. Default value: `20`. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // The set of status values, such as `Initialized,CheckPass,Running,ResumableErr,Stopped`. Status []*string `json:"Status,omitnil,omitempty" name:"Status"` // Running mode. Valid values: `Immediate`, `Timed`. RunMode *string `json:"RunMode,omitnil,omitempty" name:"RunMode"` // Task type, such as `mysql2mysql` (sync from MySQL to MySQL). JobType *string `json:"JobType,omitnil,omitempty" name:"JobType"` // Billing mode. Valid values: `PrePay` (prepaid); `PostPay` (postpaid). PayMode *string `json:"PayMode,omitnil,omitempty" name:"PayMode"` // tag TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"` }
func NewDescribeSyncJobsRequest ¶
func NewDescribeSyncJobsRequest() (request *DescribeSyncJobsRequest)
func (*DescribeSyncJobsRequest) FromJsonString ¶
func (r *DescribeSyncJobsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSyncJobsRequest) ToJsonString ¶
func (r *DescribeSyncJobsRequest) ToJsonString() string
type DescribeSyncJobsRequestParams ¶
type DescribeSyncJobsRequestParams struct { // Sync task ID, such as `sync-werwfs23`. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Sync task name JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // Sort by field, such as `CreateTime`. Order *string `json:"Order,omitnil,omitempty" name:"Order"` // Sorting order. Valid values: `ASC`, `DESC`. Default value: `DESC` by `CreateTime`. OrderSeq *string `json:"OrderSeq,omitnil,omitempty" name:"OrderSeq"` // Offset. Default value: `0`. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of sync task instances to be returned. Value range: [1,100]. Default value: `20`. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // The set of status values, such as `Initialized,CheckPass,Running,ResumableErr,Stopped`. Status []*string `json:"Status,omitnil,omitempty" name:"Status"` // Running mode. Valid values: `Immediate`, `Timed`. RunMode *string `json:"RunMode,omitnil,omitempty" name:"RunMode"` // Task type, such as `mysql2mysql` (sync from MySQL to MySQL). JobType *string `json:"JobType,omitnil,omitempty" name:"JobType"` // Billing mode. Valid values: `PrePay` (prepaid); `PostPay` (postpaid). PayMode *string `json:"PayMode,omitnil,omitempty" name:"PayMode"` // tag TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"` }
Predefined struct for user
type DescribeSyncJobsResponse ¶
type DescribeSyncJobsResponse struct { *tchttp.BaseResponse Response *DescribeSyncJobsResponseParams `json:"Response"` }
func NewDescribeSyncJobsResponse ¶
func NewDescribeSyncJobsResponse() (response *DescribeSyncJobsResponse)
func (*DescribeSyncJobsResponse) FromJsonString ¶
func (r *DescribeSyncJobsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSyncJobsResponse) ToJsonString ¶
func (r *DescribeSyncJobsResponse) ToJsonString() string
type DescribeSyncJobsResponseParams ¶
type DescribeSyncJobsResponseParams struct { // Number of tasks // Note: This field may return null, indicating that no valid values can be obtained. TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Array of task details // Note: This field may return null, indicating that no valid values can be obtained. JobList []*SyncJobInfo `json:"JobList,omitnil,omitempty" name:"JobList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DestroyIsolatedSubscribeRequest ¶
type DestroyIsolatedSubscribeRequest struct { *tchttp.BaseRequest // Data subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` }
func NewDestroyIsolatedSubscribeRequest ¶
func NewDestroyIsolatedSubscribeRequest() (request *DestroyIsolatedSubscribeRequest)
func (*DestroyIsolatedSubscribeRequest) FromJsonString ¶
func (r *DestroyIsolatedSubscribeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyIsolatedSubscribeRequest) ToJsonString ¶
func (r *DestroyIsolatedSubscribeRequest) ToJsonString() string
type DestroyIsolatedSubscribeRequestParams ¶
type DestroyIsolatedSubscribeRequestParams struct { // Data subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` }
Predefined struct for user
type DestroyIsolatedSubscribeResponse ¶
type DestroyIsolatedSubscribeResponse struct { *tchttp.BaseResponse Response *DestroyIsolatedSubscribeResponseParams `json:"Response"` }
func NewDestroyIsolatedSubscribeResponse ¶
func NewDestroyIsolatedSubscribeResponse() (response *DestroyIsolatedSubscribeResponse)
func (*DestroyIsolatedSubscribeResponse) FromJsonString ¶
func (r *DestroyIsolatedSubscribeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyIsolatedSubscribeResponse) ToJsonString ¶
func (r *DestroyIsolatedSubscribeResponse) ToJsonString() string
type DestroyIsolatedSubscribeResponseParams ¶
type DestroyIsolatedSubscribeResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DestroyMigrateJobRequest ¶
type DestroyMigrateJobRequest struct { *tchttp.BaseRequest // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewDestroyMigrateJobRequest ¶
func NewDestroyMigrateJobRequest() (request *DestroyMigrateJobRequest)
func (*DestroyMigrateJobRequest) FromJsonString ¶
func (r *DestroyMigrateJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyMigrateJobRequest) ToJsonString ¶
func (r *DestroyMigrateJobRequest) ToJsonString() string
type DestroyMigrateJobRequestParams ¶
type DestroyMigrateJobRequestParams struct { // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type DestroyMigrateJobResponse ¶
type DestroyMigrateJobResponse struct { *tchttp.BaseResponse Response *DestroyMigrateJobResponseParams `json:"Response"` }
func NewDestroyMigrateJobResponse ¶
func NewDestroyMigrateJobResponse() (response *DestroyMigrateJobResponse)
func (*DestroyMigrateJobResponse) FromJsonString ¶
func (r *DestroyMigrateJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyMigrateJobResponse) ToJsonString ¶
func (r *DestroyMigrateJobResponse) ToJsonString() string
type DestroyMigrateJobResponseParams ¶
type DestroyMigrateJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DestroySyncJobRequest ¶
type DestroySyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewDestroySyncJobRequest ¶
func NewDestroySyncJobRequest() (request *DestroySyncJobRequest)
func (*DestroySyncJobRequest) FromJsonString ¶
func (r *DestroySyncJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroySyncJobRequest) ToJsonString ¶
func (r *DestroySyncJobRequest) ToJsonString() string
type DestroySyncJobRequestParams ¶
type DestroySyncJobRequestParams struct { // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type DestroySyncJobResponse ¶
type DestroySyncJobResponse struct { *tchttp.BaseResponse Response *DestroySyncJobResponseParams `json:"Response"` }
func NewDestroySyncJobResponse ¶
func NewDestroySyncJobResponse() (response *DestroySyncJobResponse)
func (*DestroySyncJobResponse) FromJsonString ¶
func (r *DestroySyncJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroySyncJobResponse) ToJsonString ¶
func (r *DestroySyncJobResponse) ToJsonString() string
type DestroySyncJobResponseParams ¶
type DestroySyncJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DetailCheckItem ¶
type DetailCheckItem struct { // Check item name, such as source database permission check. // Note: This field may return null, indicating that no valid values can be obtained. CheckItemName *string `json:"CheckItemName,omitnil,omitempty" name:"CheckItemName"` // Check item details // Note: This field may return null, indicating that no valid values can be obtained. Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Check item result. Valid values: `pass` (pass); `failed` (failure); `warning` (pass with warning). // Note: This field may return null, indicating that no valid values can be obtained. CheckResult *string `json:"CheckResult,omitnil,omitempty" name:"CheckResult"` // The cause of the check item failure // Note: This field may return null, indicating that no valid values can be obtained. FailureReason *string `json:"FailureReason,omitnil,omitempty" name:"FailureReason"` // Solution // Note: This field may return null, indicating that no valid values can be obtained. Solution *string `json:"Solution,omitnil,omitempty" name:"Solution"` // Execution error log // Note: This field may return null, indicating that no valid values can be obtained. ErrorLog []*string `json:"ErrorLog,omitnil,omitempty" name:"ErrorLog"` // URL of the detailed help document // Note: This field may return null, indicating that no valid values can be obtained. HelpDoc []*string `json:"HelpDoc,omitnil,omitempty" name:"HelpDoc"` // Prompt text for ignoring a risk // Note: This field may return null, indicating that no valid values can be obtained. SkipInfo *string `json:"SkipInfo,omitnil,omitempty" name:"SkipInfo"` }
type DifferenceDetail ¶
type DifferenceDetail struct { // Number of inconsistent tables // Note: This field may return null, indicating that no valid values can be obtained. TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Details of inconsistent tables // Note: This field may return null, indicating that no valid values can be obtained. Items []*DifferenceItem `json:"Items,omitnil,omitempty" name:"Items"` }
type DifferenceItem ¶
type DifferenceItem struct { // Database name // Note: This field may return null, indicating that no valid values can be obtained. Db *string `json:"Db,omitnil,omitempty" name:"Db"` // Table name // Note: This field may return null, indicating that no valid values can be obtained. Table *string `json:"Table,omitnil,omitempty" name:"Table"` // Chunk ID // Note: This field may return null, indicating that no valid values can be obtained. Chunk *int64 `json:"Chunk,omitnil,omitempty" name:"Chunk"` // Source database value // Note: This field may return null, indicating that no valid values can be obtained. SrcItem *string `json:"SrcItem,omitnil,omitempty" name:"SrcItem"` // Target database value // Note: This field may return null, indicating that no valid values can be obtained. DstItem *string `json:"DstItem,omitnil,omitempty" name:"DstItem"` // Index name // Note: This field may return null, indicating that no valid values can be obtained. IndexName *string `json:"IndexName,omitnil,omitempty" name:"IndexName"` // First index key // Note: This field may return null, indicating that no valid values can be obtained. LowerBoundary *string `json:"LowerBoundary,omitnil,omitempty" name:"LowerBoundary"` // Last index key // Note: This field may return null, indicating that no valid values can be obtained. UpperBoundary *string `json:"UpperBoundary,omitnil,omitempty" name:"UpperBoundary"` // Comparison time in ms // Note: This field may return null, indicating that no valid values can be obtained. CostTime *float64 `json:"CostTime,omitnil,omitempty" name:"CostTime"` // Completion time // Note: This field may return null, indicating that no valid values can be obtained. FinishedAt *string `json:"FinishedAt,omitnil,omitempty" name:"FinishedAt"` }
type DistributeRule ¶
type DistributeRule struct { // Rule type. Valid values for non-mongo products: table (partitioned by table name); pk (partitioned by table name + primary key); cols (partitioned by column name). Valid values for mongo: collection (partitioned by collection name); collectionAndObjectId (partitioned by collection + primary key). Note: This field may return null, indicating that no valid values can be obtained. RuleType *string `json:"RuleType,omitnil,omitempty" name:"RuleType"` // Database name matching rule, please fill in the regular expression.Note: This field may return null, indicating that no valid values can be obtained. DbPattern *string `json:"DbPattern,omitnil,omitempty" name:"DbPattern"` // Table name matching rule. If DatabaseType is mongodb, it matches the collection name.Note: This field may return null, indicating that no valid values can be obtained. TablePattern *string `json:"TablePattern,omitnil,omitempty" name:"TablePattern"` // Column name. This field is required if RuleType is cols. The subscription task will use the value of this column to calculate the partition. Mongo does not partition by column, so there is no need to pass this field.Note: This field may return null, indicating that no valid values can be obtained. Columns []*string `json:"Columns,omitnil,omitempty" name:"Columns"` }
type DynamicOptions ¶
type DynamicOptions struct { // DML and DDL options to be synced. Valid values: `Insert` (INSERT), `Update` (UPDATE), `Delete` (DELETE), `DDL` (structure sync), `PartialDDL` (custom option, which is used together with `DdlOptions`). This parameter is required, and its value will overwrite the previous value. Note: This field may return null, indicating that no valid values can be obtained. OpTypes []*string `json:"OpTypes,omitnil,omitempty" name:"OpTypes"` // DDL options to be synced. This parameter is required when `OpTypes` is `PartialDDL`, and its value will overwrite the previous value. Note: This field may return null, indicating that no valid values can be obtained. DdlOptions []*DdlOption `json:"DdlOptions,omitnil,omitempty" name:"DdlOptions"` // Conflict resolution method. Valid values: `ReportError` (Report error), `Ignore` (Ignore), `Cover` (Overwrite), `ConditionCover` (Conditionally overwrite). Currently, this parameter cannot be modified if the target of the link is Kafka. Note: This field may return null, indicating that no valid values can be obtained. ConflictHandleType *string `json:"ConflictHandleType,omitnil,omitempty" name:"ConflictHandleType"` // Detailed options of the conflict resolution method, such as the conditionally overwritten rows and condition operations for the “conditionally overwrite” method. The internal field of this parameter cannot be modified separately. If this parameter needs to be updated, update it fully. Note: This field may return null, indicating that no valid values can be obtained. ConflictHandleOption *ConflictHandleOption `json:"ConflictHandleOption,omitnil,omitempty" name:"ConflictHandleOption"` }
type Endpoint ¶
type Endpoint struct { // Region name, such as `ap-guangzhou`. // Note: This field may return null, indicating that no valid values can be obtained. Region *string `json:"Region,omitnil,omitempty" name:"Region"` // Node type of TDSQL for MySQL. Enumerated values: `proxy`, `set`. // Note: This field may return null, indicating that no valid values can be obtained. Role *string `json:"Role,omitnil,omitempty" name:"Role"` // Database kernel type, which is used to distinguish between different kernels in TDSQL. Valid values: `percona`, `mariadb`, `mysql`. // Note: This field may return null, indicating that no valid values can be obtained. DbKernel *string `json:"DbKernel,omitnil,omitempty" name:"DbKernel"` // Database instance ID in the format of `cdb-powiqx8q` // Note: This field may return null, indicating that no valid values can be obtained. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Instance IP address, which is required if the access type is not `cdb`. // Note: This field may return null, indicating that no valid values can be obtained. Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Instance port, which is required if the access type is not `cdb`. // Note: This field may return null, indicating that no valid values can be obtained. Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // Username, which is required for an instance authenticated by username and password. // Note: This field may return null, indicating that no valid values can be obtained. User *string `json:"User,omitnil,omitempty" name:"User"` // Password, which is required for an instance authenticated by username and password. // Note: This field may return null, indicating that no valid values can be obtained. Password *string `json:"Password,omitnil,omitempty" name:"Password"` // Database name, which is required if the database type is `cdwpg`. // Note: This field may return null, indicating that no valid values can be obtained. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // VPC ID in the format of `vpc-92jblxto`, which is required if the access type is `vpc`, `dcg`, or `vpncloud`. // Note: This field may return null, indicating that no valid values can be obtained. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // ID of the subnet in the VPC in the format of `subnet-3paxmkdz`, which is required if the access type is `vpc`, `dcg`, or `vpncloud`. // Note: This field may return null, indicating that no valid values can be obtained. SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // Short CVM instance ID in the format of `ins-olgl39y8`, which is required if the access type is `cvm`. It is the same as the instance ID displayed in the CVM console. // Note: This field may return null, indicating that no valid values can be obtained. CvmInstanceId *string `json:"CvmInstanceId,omitnil,omitempty" name:"CvmInstanceId"` // Direct Connect gateway ID in the format of `dcg-0rxtqqxb`, which is required if the access type is `dcg`. // Note: This field may return null, indicating that no valid values can be obtained. UniqDcgId *string `json:"UniqDcgId,omitnil,omitempty" name:"UniqDcgId"` // VPN gateway ID in the format of `vpngw-9ghexg7q`, which is required if the access type is `vpncloud`. // Note: This field may return null, indicating that no valid values can be obtained. UniqVpnGwId *string `json:"UniqVpnGwId,omitnil,omitempty" name:"UniqVpnGwId"` // CCN instance ID in the format of `ccn-afp6kltc`, which is required if the access type is `ccn`. // Note: This field may return null, indicating that no valid values can be obtained. CcnId *string `json:"CcnId,omitnil,omitempty" name:"CcnId"` // Cloud vendor type. For Alibaba Cloud ApsaraDB for RDS instances, enter `aliyun`; otherwise, enter `others`. Default value: `others`. // Note: This field may return null, indicating that no valid values can be obtained. Supplier *string `json:"Supplier,omitnil,omitempty" name:"Supplier"` // Database version in the format of `5.6` or `5.7`, which takes effect only if the instance is an RDS instance. Default value: `5.6`. // Note: This field may return null, indicating that no valid values can be obtained. EngineVersion *string `json:"EngineVersion,omitnil,omitempty" name:"EngineVersion"` // Instance account, which is required if the operation is performed across accounts. // Note: This field may return null, indicating that no valid values can be obtained. Account *string `json:"Account,omitnil,omitempty" name:"Account"` // The account to which the resource belongs. Valid values: empty or `self` (the current account); `other` (another account). // Note: This field may return null, indicating that no valid values can be obtained. AccountMode *string `json:"AccountMode,omitnil,omitempty" name:"AccountMode"` // The role used for cross-account sync, which can contain [a-zA-Z0-9\-\_]+ and is required if the operation is performed across accounts. // Note: This field may return null, indicating that no valid values can be obtained. AccountRole *string `json:"AccountRole,omitnil,omitempty" name:"AccountRole"` // External role ID // Note: This field may return null, indicating that no valid values can be obtained. RoleExternalId *string `json:"RoleExternalId,omitnil,omitempty" name:"RoleExternalId"` // Temporary SecretId, you can obtain the temporary key by [GetFederationToken](https://intl.cloud.tencent.com/document/product/1312/48195?from_cn_redirect=1). This field is required if it is a cross-account instance.Note: This field may return null, indicating that no valid values can be obtained. TmpSecretId *string `json:"TmpSecretId,omitnil,omitempty" name:"TmpSecretId"` // Temporary SecretKey, you can obtain the temporary key by [GetFederationToken](https://intl.cloud.tencent.com/document/product/1312/48195?from_cn_redirect=1). This field is required if it is a cross-account instance.Note: This field may return null, indicating that no valid values can be obtained. TmpSecretKey *string `json:"TmpSecretKey,omitnil,omitempty" name:"TmpSecretKey"` // Temporary token, you can obtain the temporary key by [GetFederationToken](https://intl.cloud.tencent.com/document/product/1312/48195?from_cn_redirect=1). This field is required if it is a cross-account instance. Note: This field may return null, indicating that no valid values can be obtained. TmpToken *string `json:"TmpToken,omitnil,omitempty" name:"TmpToken"` // Whether to enable encrypted transfer (`UnEncrypted`: No; `Encrypted`: Yes). Default value: `UnEncrypted`. // Note: This field may return null, indicating that no valid values can be obtained. EncryptConn *string `json:"EncryptConn,omitnil,omitempty" name:"EncryptConn"` // Network environment of the database. This parameter is required when `AccessType` is `ccn`. Valid values: `UserIDC` (user IDC), `TencentVPC` (Tencent Cloud VPC). // Note: This field may return null, indicating that no valid values can be obtained. DatabaseNetEnv *string `json:"DatabaseNetEnv,omitnil,omitempty" name:"DatabaseNetEnv"` // The root account of CCN in the scenario where the database is connected to CCN under another Tencent Cloud account // Note: This field may return `null`, indicating that no valid values can be obtained. CcnOwnerUin *string `json:"CcnOwnerUin,omitnil,omitempty" name:"CcnOwnerUin"` ChildInstanceId *string `json:"ChildInstanceId,omitnil,omitempty" name:"ChildInstanceId"` ChildInstanceType *string `json:"ChildInstanceType,omitnil,omitempty" name:"ChildInstanceType"` SetId *string `json:"SetId,omitnil,omitempty" name:"SetId"` }
type EndpointItem ¶
type EndpointItem struct { // Region of the source database. If AccessType is ccn, please fill in the region where vpc is located because the region of the source database is unknown. For other access methods, please fill in the region where the subscription task is located, as ensuring the subscription task and the source database are in the same region is the optimal network solution.Note: This field may return null, indicating that no valid values can be obtained. DatabaseRegion *string `json:"DatabaseRegion,omitnil,omitempty" name:"DatabaseRegion"` // UsernameNote: This field may return null, indicating that no valid values can be obtained. User *string `json:"User,omitnil,omitempty" name:"User"` // Password. It is required when used as an input parameter and empty when used as an output parameter.Note: This field may return null, indicating that no valid values can be obtained. Password *string `json:"Password,omitnil,omitempty" name:"Password"` // Target instance ID. This field is required when AccessType is cdb. When configuring the InstanceId, the instance information is queried and checked. The mysql query interface has been authenticated. Please ensure that the sub-user has the cdb:DescribeDBInstances interface permission.Note: This field may return null, indicating that no valid values can be obtained. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Cloud Virtual Machine ID. This field is required when AccessType is cvm.Note: This field may return null, indicating that no valid values can be obtained. CvmInstanceId *string `json:"CvmInstanceId,omitnil,omitempty" name:"CvmInstanceId"` // Direct Connect gateway ID. This field is required when AccessType is dcg.Note: This field may return null, indicating that no valid values can be obtained. UniqDcgId *string `json:"UniqDcgId,omitnil,omitempty" name:"UniqDcgId"` // Cloud Connect Network ID. This field is required when AccessType is ccn.Note: This field may return null, indicating that no valid values can be obtained. CcnId *string `json:"CcnId,omitnil,omitempty" name:"CcnId"` // VPN gateway ID. This field is required when AccessType is vpncloud.Note: This field may return null, indicating that no valid values can be obtained. UniqVpnGwId *string `json:"UniqVpnGwId,omitnil,omitempty" name:"UniqVpnGwId"` // VpcID. This field is required when AccessType is dcg\ccn\vpncloud\vpc.Note: This field may return null, indicating that no valid values can be obtained. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Subnet ID. This field is required when AccessType is dcg\ccn\vpncloud\vpc.Note: This field may return null, indicating that no valid values can be obtained. SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // Database address, supports domain name and IP. This field is required when AccessType is dcg\ccn\vpncloud\vpc\extranet\intranet.Note: This field may return null, indicating that no valid values can be obtained. HostName *string `json:"HostName,omitnil,omitempty" name:"HostName"` // Database port. This field is required when AccessType is dcg\ccn\vpncloud\vpc\extranet\intranet\cvm.Note: This field may return null, indicating that no valid values can be obtained. Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // Whether to use encrypted transmission. Valid values: UnEncrypted; Encrypted. Only mysql supports it. If it is not filled in, it will not be encrypted by default. Other products do not need to fill in this.Note: This field may return null, indicating that no valid values can be obtained. EncryptConn *string `json:"EncryptConn,omitnil,omitempty" name:"EncryptConn"` // Database network environment. This field is required when AccessType is ccn. Valid values: UserIDC; TencentVPC; Aws; AliYun; Others.Note: This field may return null, indicating that no valid values can be obtained. DatabaseNetEnv *string `json:"DatabaseNetEnv,omitnil,omitempty" name:"DatabaseNetEnv"` // The UIN of the main account to which the Cloud Connect Network gateway belongs. It is required for cross-account CCN.Note: This field may return null, indicating that no valid values can be obtained. CcnOwnerUin *string `json:"CcnOwnerUin,omitnil,omitempty" name:"CcnOwnerUin"` // Additional information added for the business. Parameter name is called key, parameter value is called value. Mandatory parameters for tdpg: PgDatabase (subscribed database name).Note: This field may return null, indicating that no valid values can be obtained. ExtraAttr []*KeyValuePairOption `json:"ExtraAttr,omitnil,omitempty" name:"ExtraAttr"` ChildInstanceId *string `json:"ChildInstanceId,omitnil,omitempty" name:"ChildInstanceId"` ChildInstanceType *string `json:"ChildInstanceType,omitnil,omitempty" name:"ChildInstanceType"` }
type ErrInfo ¶
type ErrInfo struct { // Cause of the error Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"` // Error message // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Solution // Note: This field may return null, indicating that no valid values can be obtained. Solution *string `json:"Solution,omitnil,omitempty" name:"Solution"` }
type ErrorInfoItem ¶
type ErrorInfoItem struct { // Error code // Note: This field may return null, indicating that no valid values can be obtained. Code *string `json:"Code,omitnil,omitempty" name:"Code"` // Solution // Note: This field may return null, indicating that no valid values can be obtained. Solution *string `json:"Solution,omitnil,omitempty" name:"Solution"` // Error log // Note: This field may return null, indicating that no valid values can be obtained. ErrorLog *string `json:"ErrorLog,omitnil,omitempty" name:"ErrorLog"` // Help document // Note: This field may return null, indicating that no valid values can be obtained. HelpDoc *string `json:"HelpDoc,omitnil,omitempty" name:"HelpDoc"` }
type GroupInfo ¶
type GroupInfo struct { // Consumer group account Account *string `json:"Account,omitnil,omitempty" name:"Account"` // Consumer group name ConsumerGroupName *string `json:"ConsumerGroupName,omitnil,omitempty" name:"ConsumerGroupName"` // Consumer group descriptionNote: This field may return null, indicating that no valid values can be obtained. Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Consumer group offset. This field is for compatibility with the previous single partition scenario, where the value is the offset of the last partition. For the offset of each partition, please refer to the StateOfPartition field. ConsumerGroupOffset *int64 `json:"ConsumerGroupOffset,omitnil,omitempty" name:"ConsumerGroupOffset"` // The amount of data that has not been consumed by the consumer group. This field is for compatibility with the previous single partition scenario, where the value is the amount of unconsumed data in the last partition. For the amount of unconsumed data in each partition, refer to the StateOfPartition field. ConsumerGroupLag *int64 `json:"ConsumerGroupLag,omitnil,omitempty" name:"ConsumerGroupLag"` // Consumption delay (in seconds) Latency *int64 `json:"Latency,omitnil,omitempty" name:"Latency"` // Consumption status of each partition StateOfPartition []*MonitorInfo `json:"StateOfPartition,omitnil,omitempty" name:"StateOfPartition"` // Consumer group creation time, the format is: YYYY-MM-DD hh:mm:ss. CreatedAt *string `json:"CreatedAt,omitnil,omitempty" name:"CreatedAt"` // Consumer group update time, the format is: YYYY-MM-DD hh:mm:ss. UpdatedAt *string `json:"UpdatedAt,omitnil,omitempty" name:"UpdatedAt"` // Consumer group states, including Dead, Empty, Stable, etc. Only Dead and Empty states can perform reset operations. ConsumerGroupState *string `json:"ConsumerGroupState,omitnil,omitempty" name:"ConsumerGroupState"` // The partition is being consumed by each consumer.Note: This field may return null, indicating that no valid values can be obtained. PartitionAssignment []*PartitionAssignment `json:"PartitionAssignment,omitnil,omitempty" name:"PartitionAssignment"` }
type IsolateMigrateJobRequest ¶
type IsolateMigrateJobRequest struct { *tchttp.BaseRequest // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewIsolateMigrateJobRequest ¶
func NewIsolateMigrateJobRequest() (request *IsolateMigrateJobRequest)
func (*IsolateMigrateJobRequest) FromJsonString ¶
func (r *IsolateMigrateJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*IsolateMigrateJobRequest) ToJsonString ¶
func (r *IsolateMigrateJobRequest) ToJsonString() string
type IsolateMigrateJobRequestParams ¶
type IsolateMigrateJobRequestParams struct { // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type IsolateMigrateJobResponse ¶
type IsolateMigrateJobResponse struct { *tchttp.BaseResponse Response *IsolateMigrateJobResponseParams `json:"Response"` }
func NewIsolateMigrateJobResponse ¶
func NewIsolateMigrateJobResponse() (response *IsolateMigrateJobResponse)
func (*IsolateMigrateJobResponse) FromJsonString ¶
func (r *IsolateMigrateJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*IsolateMigrateJobResponse) ToJsonString ¶
func (r *IsolateMigrateJobResponse) ToJsonString() string
type IsolateMigrateJobResponseParams ¶
type IsolateMigrateJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type IsolateSubscribeRequest ¶
type IsolateSubscribeRequest struct { *tchttp.BaseRequest // Subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` }
func NewIsolateSubscribeRequest ¶
func NewIsolateSubscribeRequest() (request *IsolateSubscribeRequest)
func (*IsolateSubscribeRequest) FromJsonString ¶
func (r *IsolateSubscribeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*IsolateSubscribeRequest) ToJsonString ¶
func (r *IsolateSubscribeRequest) ToJsonString() string
type IsolateSubscribeRequestParams ¶
type IsolateSubscribeRequestParams struct { // Subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` }
Predefined struct for user
type IsolateSubscribeResponse ¶
type IsolateSubscribeResponse struct { *tchttp.BaseResponse Response *IsolateSubscribeResponseParams `json:"Response"` }
func NewIsolateSubscribeResponse ¶
func NewIsolateSubscribeResponse() (response *IsolateSubscribeResponse)
func (*IsolateSubscribeResponse) FromJsonString ¶
func (r *IsolateSubscribeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*IsolateSubscribeResponse) ToJsonString ¶
func (r *IsolateSubscribeResponse) ToJsonString() string
type IsolateSubscribeResponseParams ¶
type IsolateSubscribeResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type IsolateSyncJobRequest ¶
type IsolateSyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewIsolateSyncJobRequest ¶
func NewIsolateSyncJobRequest() (request *IsolateSyncJobRequest)
func (*IsolateSyncJobRequest) FromJsonString ¶
func (r *IsolateSyncJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*IsolateSyncJobRequest) ToJsonString ¶
func (r *IsolateSyncJobRequest) ToJsonString() string
type IsolateSyncJobRequestParams ¶
type IsolateSyncJobRequestParams struct { // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type IsolateSyncJobResponse ¶
type IsolateSyncJobResponse struct { *tchttp.BaseResponse Response *IsolateSyncJobResponseParams `json:"Response"` }
func NewIsolateSyncJobResponse ¶
func NewIsolateSyncJobResponse() (response *IsolateSyncJobResponse)
func (*IsolateSyncJobResponse) FromJsonString ¶
func (r *IsolateSyncJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*IsolateSyncJobResponse) ToJsonString ¶
func (r *IsolateSyncJobResponse) ToJsonString() string
type IsolateSyncJobResponseParams ¶
type IsolateSyncJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type JobItem ¶
type JobItem struct { // Data migration task ID // Note: This field may return null, indicating that no valid values can be obtained. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data migration task name // Note: This field may return null, indicating that no valid values can be obtained. JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // Task creation (submission) time in the format of `yyyy-mm-dd hh:mm:ss` // Note: This field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Task update time in the format of `yyyy-mm-dd hh:mm:ss` // Note: This field may return null, indicating that no valid values can be obtained. UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // Task start time in the format of `yyyy-mm-dd hh:mm:ss` // Note: This field may return null, indicating that no valid values can be obtained. StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Task end time in the format of `yyyy-mm-dd hh:mm:ss` // Note: This field may return null, indicating that no valid values can be obtained. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Migration task error message // Note: This field may return null, indicating that no valid values can be obtained. BriefMsg *string `json:"BriefMsg,omitnil,omitempty" name:"BriefMsg"` // Task status. Valid values: `creating` (Creating), `created`(Created), `checking` (Checking), `checkPass` (Check passed), `checkNotPass` (Check not passed), `readyRun` (Ready for running), `running` (Running), `readyComplete` (Preparation completed), `success` (Successful), `failed` (Failed), `stopping` (Stopping), `completing` (Completing), `pausing` (Pausing), `manualPaused` (Paused). Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Task running mode. Valid values: `immediate`, `timed`. // Note: This field may return null, indicating that no valid values can be obtained. RunMode *string `json:"RunMode,omitnil,omitempty" name:"RunMode"` // Expected start time in the format of "2022-07-11 16:20:49", which is required if `RunMode` is `timed`. // Note: This field may return null, indicating that no valid values can be obtained. ExpectRunTime *string `json:"ExpectRunTime,omitnil,omitempty" name:"ExpectRunTime"` // Task operation information // Note: This field may return null, indicating that no valid values can be obtained. Action *MigrateAction `json:"Action,omitnil,omitempty" name:"Action"` // Information of the migration task execution process // Note: This field may return null, indicating that no valid values can be obtained. StepInfo *MigrateDetailInfo `json:"StepInfo,omitnil,omitempty" name:"StepInfo"` // Source instance information // Note: This field may return null, indicating that no valid values can be obtained. SrcInfo *DBEndpointInfo `json:"SrcInfo,omitnil,omitempty" name:"SrcInfo"` // Target database information // Note: This field may return null, indicating that no valid values can be obtained. DstInfo *DBEndpointInfo `json:"DstInfo,omitnil,omitempty" name:"DstInfo"` // Data consistency check result // Note: This field may return null, indicating that no valid values can be obtained. CompareTask *CompareTaskInfo `json:"CompareTask,omitnil,omitempty" name:"CompareTask"` // Billing status information // Note: This field may return null, indicating that no valid values can be obtained. TradeInfo *TradeInfo `json:"TradeInfo,omitnil,omitempty" name:"TradeInfo"` // Tag information // Note: This field may return null, indicating that no valid values can be obtained. Tags []*TagItem `json:"Tags,omitnil,omitempty" name:"Tags"` // Information of automatic retry time // Note: This field may return null, indicating that no valid values can be obtained. AutoRetryTimeRangeMinutes *int64 `json:"AutoRetryTimeRangeMinutes,omitnil,omitempty" name:"AutoRetryTimeRangeMinutes"` // Whether the task can be reentered in the full export stage. Valid values: `yes`, `no`. `yes`: The current task can be reentered. `no`: The current task is in the full export stage which cannot be reentered. If the value of this parameter is `no`, the checkpoint restart is not supported when the task is restarted in the export stage. // Note: This field may return null, indicating that no valid values can be obtained. DumperResumeCtrl *string `json:"DumperResumeCtrl,omitnil,omitempty" name:"DumperResumeCtrl"` }
type KafkaOption ¶
type KafkaOption struct { // Data type delivered to Kafka, such as Avro, Json, canal-pb, canal-json DataType *string `json:"DataType,omitnil,omitempty" name:"DataType"` // Topic sync policy, such as `Single` (deliver all data to a single topic), `Multi` (deliver data to multiple custom topics). TopicType *string `json:"TopicType,omitnil,omitempty" name:"TopicType"` // Topic for DDL storage DDLTopicName *string `json:"DDLTopicName,omitnil,omitempty" name:"DDLTopicName"` // Topic description TopicRules []*TopicRule `json:"TopicRules,omitnil,omitempty" name:"TopicRules"` }
type KeyValuePairOption ¶
type KeyValuePairOption struct { // Option key // Note: This field may return null, indicating that no valid values can be obtained. Key *string `json:"Key,omitnil,omitempty" name:"Key"` // Option value // Note: This field may return null, indicating that no valid values can be obtained. Value *string `json:"Value,omitnil,omitempty" name:"Value"` }
type MigrateAction ¶
type MigrateAction struct { // List of all operations in the task // Note: This field may return null, indicating that no valid values can be obtained. AllAction []*string `json:"AllAction,omitnil,omitempty" name:"AllAction"` // List of allowed operations in the task under the current status // Note: This field may return null, indicating that no valid values can be obtained. AllowedAction []*string `json:"AllowedAction,omitnil,omitempty" name:"AllowedAction"` }
type MigrateDBItem ¶
type MigrateDBItem struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Instance name InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Instance VIP Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // Instance Vport Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"` // Whether the instance can be migrated. Valid values: `1 (yes); `0` (no). Usable *int64 `json:"Usable,omitnil,omitempty" name:"Usable"` // The cause why the instance cannot be migrated Hint *string `json:"Hint,omitnil,omitempty" name:"Hint"` }
type MigrateDetailInfo ¶
type MigrateDetailInfo struct { // Total number of steps // Note: This field may return null, indicating that no valid values can be obtained. StepAll *uint64 `json:"StepAll,omitnil,omitempty" name:"StepAll"` // Current step // Note: This field may return null, indicating that no valid values can be obtained. StepNow *uint64 `json:"StepNow,omitnil,omitempty" name:"StepNow"` // Source-replica lag in MB. This parameter takes effect only when the task is normal and is in the last step of migration or sync (binlog sync). If it is invalid, `-1` will be returned. // Note: This field may return null, indicating that no valid values can be obtained. MasterSlaveDistance *int64 `json:"MasterSlaveDistance,omitnil,omitempty" name:"MasterSlaveDistance"` // Source-replica lag in seconds. This parameter takes effect only when the task is normal and is in the last step of migration or sync (binlog sync). If it is invalid, `-1` will be returned. // Note: This field may return null, indicating that no valid values can be obtained. SecondsBehindMaster *int64 `json:"SecondsBehindMaster,omitnil,omitempty" name:"SecondsBehindMaster"` // Step information // Note: This field may return null, indicating that no valid values can be obtained. StepInfo []*StepDetailInfo `json:"StepInfo,omitnil,omitempty" name:"StepInfo"` }
type MigrateOption ¶
type MigrateOption struct { // Migration object options, which tell DTS which database/table objects should be migrated. // Note: This field may return null, indicating that no valid values can be obtained. DatabaseTable *DatabaseTableObject `json:"DatabaseTable,omitnil,omitempty" name:"DatabaseTable"` // Migration type. Valid values: `full`, `structure`, `fullAndIncrement`. Default value: `fullAndIncrement`. // Note: This field may return null, indicating that no valid values can be obtained. MigrateType *string `json:"MigrateType,omitnil,omitempty" name:"MigrateType"` // Data consistency check option. Data consistency check is disabled by default. // Note: This field may return null, indicating that no valid values can be obtained. Consistency *ConsistencyOption `json:"Consistency,omitnil,omitempty" name:"Consistency"` // Whether to migrate accounts. Valid values: `yes`, `no`. // Note: This field may return null, indicating that no valid values can be obtained. IsMigrateAccount *bool `json:"IsMigrateAccount,omitnil,omitempty" name:"IsMigrateAccount"` // Whether to use the `Root` account in the source database to overwrite that in the target database. Valid values: `false`, `true`. For database/table or structural migration, you should specify `false`. Note that this parameter takes effect only for OldDTS. // Note: This field may return null, indicating that no valid values can be obtained. IsOverrideRoot *bool `json:"IsOverrideRoot,omitnil,omitempty" name:"IsOverrideRoot"` // Whether to set the target database to read-only during migration, which takes effect only for MySQL databases. Valid values: `true`, `false`. Default value: `false`. // Note: This field may return null, indicating that no valid values can be obtained. IsDstReadOnly *bool `json:"IsDstReadOnly,omitnil,omitempty" name:"IsDstReadOnly"` // Additional information. You can set additional parameters for certain database types. For Redis, you can define the following parameters: // ["DstWriteMode": `normal`. Target database write mode. Valid values: `clearData` (Clear the target instance data), overwrite` (Execute the task in overwriting mode), `normal` (Follow the normal steps) "IsDstReadOnly": `true`. Whether to set the target database to read-only for a migration task. Valid values: `true` (Yes), `false` (No) "ClientOutputBufferHardLimit": 512. Hard limit of the replica buffer zone capacity in MB. "ClientOutputBufferSoftLimit": 512. Soft limit of the replica buffer zone capacity in MB. "ClientOutputBufferPersistTime": 60. Soft limit duration of the replica buffer zone in seconds. "ReplBacklogSize": 512, Limit of the circular buffer zone capacity in MB. "ReplTimeout":120, Replication timeout period in seconds] // Note: This field may return null, indicating that no valid values can be obtained. ExtraAttr []*KeyValuePairOption `json:"ExtraAttr,omitnil,omitempty" name:"ExtraAttr"` MigrateWay *string `json:"MigrateWay,omitnil,omitempty" name:"MigrateWay"` }
type ModifiedSubscribeObject ¶
type ModifiedSubscribeObject struct { // Subscription object type. Valid values: 0 (database); 1 (table, for mongo tasks, this corresponds to a collection).Note: mongo only supports full instance, single database or single collection subscription, so this field should not conflict with SubscribeObjectType. For example, when SubscribeObjectType=4, it means mongo single database subscription, then 0 should be passed in this field.Note: This field may return null, indicating that no valid values can be obtained. ObjectsType *int64 `json:"ObjectsType,omitnil,omitempty" name:"ObjectsType"` // Subscription database nameNote: This field may return null, indicating that no valid values can be obtained. DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"` // Name of the table (or collection) in the subscription database. If ObjectsType is 1, this field is required and not empty; TableNames []*string `json:"TableNames,omitnil,omitempty" name:"TableNames"` }
type ModifyCompareTaskNameRequest ¶
type ModifyCompareTaskNameRequest struct { *tchttp.BaseRequest // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` // Data consistency check task name TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` }
func NewModifyCompareTaskNameRequest ¶
func NewModifyCompareTaskNameRequest() (request *ModifyCompareTaskNameRequest)
func (*ModifyCompareTaskNameRequest) FromJsonString ¶
func (r *ModifyCompareTaskNameRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCompareTaskNameRequest) ToJsonString ¶
func (r *ModifyCompareTaskNameRequest) ToJsonString() string
type ModifyCompareTaskNameRequestParams ¶
type ModifyCompareTaskNameRequestParams struct { // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` // Data consistency check task name TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` }
Predefined struct for user
type ModifyCompareTaskNameResponse ¶
type ModifyCompareTaskNameResponse struct { *tchttp.BaseResponse Response *ModifyCompareTaskNameResponseParams `json:"Response"` }
func NewModifyCompareTaskNameResponse ¶
func NewModifyCompareTaskNameResponse() (response *ModifyCompareTaskNameResponse)
func (*ModifyCompareTaskNameResponse) FromJsonString ¶
func (r *ModifyCompareTaskNameResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCompareTaskNameResponse) ToJsonString ¶
func (r *ModifyCompareTaskNameResponse) ToJsonString() string
type ModifyCompareTaskNameResponseParams ¶
type ModifyCompareTaskNameResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyCompareTaskRequest ¶
type ModifyCompareTaskRequest struct { *tchttp.BaseRequest // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` // Task name TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` // Data comparison object mode. Valid values: `sameAsMigrate` (All migration objects), `custom` (Custom mode. The custom comparison objects must be a subset of the migration objects). Default value: `sameAsMigrate`. ObjectMode *string `json:"ObjectMode,omitnil,omitempty" name:"ObjectMode"` // Compared object, which is required if `CompareObjectMode` is `custom`. Objects *CompareObject `json:"Objects,omitnil,omitempty" name:"Objects"` // Consistency check options Options *CompareOptions `json:"Options,omitnil,omitempty" name:"Options"` }
func NewModifyCompareTaskRequest ¶
func NewModifyCompareTaskRequest() (request *ModifyCompareTaskRequest)
func (*ModifyCompareTaskRequest) FromJsonString ¶
func (r *ModifyCompareTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCompareTaskRequest) ToJsonString ¶
func (r *ModifyCompareTaskRequest) ToJsonString() string
type ModifyCompareTaskRequestParams ¶
type ModifyCompareTaskRequestParams struct { // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` // Task name TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` // Data comparison object mode. Valid values: `sameAsMigrate` (All migration objects), `custom` (Custom mode. The custom comparison objects must be a subset of the migration objects). Default value: `sameAsMigrate`. ObjectMode *string `json:"ObjectMode,omitnil,omitempty" name:"ObjectMode"` // Compared object, which is required if `CompareObjectMode` is `custom`. Objects *CompareObject `json:"Objects,omitnil,omitempty" name:"Objects"` // Consistency check options Options *CompareOptions `json:"Options,omitnil,omitempty" name:"Options"` }
Predefined struct for user
type ModifyCompareTaskResponse ¶
type ModifyCompareTaskResponse struct { *tchttp.BaseResponse Response *ModifyCompareTaskResponseParams `json:"Response"` }
func NewModifyCompareTaskResponse ¶
func NewModifyCompareTaskResponse() (response *ModifyCompareTaskResponse)
func (*ModifyCompareTaskResponse) FromJsonString ¶
func (r *ModifyCompareTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCompareTaskResponse) ToJsonString ¶
func (r *ModifyCompareTaskResponse) ToJsonString() string
type ModifyCompareTaskResponseParams ¶
type ModifyCompareTaskResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyConsumerGroupDescriptionRequest ¶
type ModifyConsumerGroupDescriptionRequest struct { *tchttp.BaseRequest // Data subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` // Consumer group name. The full name of the actual consumer group is in the form: consumer-grp-#{SubscribeId}-#{ConsumerGroupName}.Please make sure the consumer group name is correct. ConsumerGroupName *string `json:"ConsumerGroupName,omitnil,omitempty" name:"ConsumerGroupName"` // Account name. The full name of the actual account is in the form: account-#{SubscribeId}-#{AccountName}.Please make sure the account name is correct. AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"` // Updated description of the consumer group Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
func NewModifyConsumerGroupDescriptionRequest ¶
func NewModifyConsumerGroupDescriptionRequest() (request *ModifyConsumerGroupDescriptionRequest)
func (*ModifyConsumerGroupDescriptionRequest) FromJsonString ¶
func (r *ModifyConsumerGroupDescriptionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyConsumerGroupDescriptionRequest) ToJsonString ¶
func (r *ModifyConsumerGroupDescriptionRequest) ToJsonString() string
type ModifyConsumerGroupDescriptionRequestParams ¶
type ModifyConsumerGroupDescriptionRequestParams struct { // Data subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` // Consumer group name. The full name of the actual consumer group is in the form: consumer-grp-#{SubscribeId}-#{ConsumerGroupName}.Please make sure the consumer group name is correct. ConsumerGroupName *string `json:"ConsumerGroupName,omitnil,omitempty" name:"ConsumerGroupName"` // Account name. The full name of the actual account is in the form: account-#{SubscribeId}-#{AccountName}.Please make sure the account name is correct. AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"` // Updated description of the consumer group Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
Predefined struct for user
type ModifyConsumerGroupDescriptionResponse ¶
type ModifyConsumerGroupDescriptionResponse struct { *tchttp.BaseResponse Response *ModifyConsumerGroupDescriptionResponseParams `json:"Response"` }
func NewModifyConsumerGroupDescriptionResponse ¶
func NewModifyConsumerGroupDescriptionResponse() (response *ModifyConsumerGroupDescriptionResponse)
func (*ModifyConsumerGroupDescriptionResponse) FromJsonString ¶
func (r *ModifyConsumerGroupDescriptionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyConsumerGroupDescriptionResponse) ToJsonString ¶
func (r *ModifyConsumerGroupDescriptionResponse) ToJsonString() string
type ModifyConsumerGroupDescriptionResponseParams ¶
type ModifyConsumerGroupDescriptionResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyConsumerGroupPasswordRequest ¶
type ModifyConsumerGroupPasswordRequest struct { *tchttp.BaseRequest // Data subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` // Account name. The full name of the actual account is in the form: account-#{SubscribeId}-#{AccountName}. AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"` // Consumer group name. The full name of the actual consumer group is in the form: consumer-grp-#{SubscribeId}-#{ConsumerGroupName}. ConsumerGroupName *string `json:"ConsumerGroupName,omitnil,omitempty" name:"ConsumerGroupName"` // Old Password. OldPassword *string `json:"OldPassword,omitnil,omitempty" name:"OldPassword"` // New password. The character length is no less than 3 and no more than 32. NewPassword *string `json:"NewPassword,omitnil,omitempty" name:"NewPassword"` }
func NewModifyConsumerGroupPasswordRequest ¶
func NewModifyConsumerGroupPasswordRequest() (request *ModifyConsumerGroupPasswordRequest)
func (*ModifyConsumerGroupPasswordRequest) FromJsonString ¶
func (r *ModifyConsumerGroupPasswordRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyConsumerGroupPasswordRequest) ToJsonString ¶
func (r *ModifyConsumerGroupPasswordRequest) ToJsonString() string
type ModifyConsumerGroupPasswordRequestParams ¶
type ModifyConsumerGroupPasswordRequestParams struct { // Data subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` // Account name. The full name of the actual account is in the form: account-#{SubscribeId}-#{AccountName}. AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"` // Consumer group name. The full name of the actual consumer group is in the form: consumer-grp-#{SubscribeId}-#{ConsumerGroupName}. ConsumerGroupName *string `json:"ConsumerGroupName,omitnil,omitempty" name:"ConsumerGroupName"` // Old Password. OldPassword *string `json:"OldPassword,omitnil,omitempty" name:"OldPassword"` // New password. The character length is no less than 3 and no more than 32. NewPassword *string `json:"NewPassword,omitnil,omitempty" name:"NewPassword"` }
Predefined struct for user
type ModifyConsumerGroupPasswordResponse ¶
type ModifyConsumerGroupPasswordResponse struct { *tchttp.BaseResponse Response *ModifyConsumerGroupPasswordResponseParams `json:"Response"` }
func NewModifyConsumerGroupPasswordResponse ¶
func NewModifyConsumerGroupPasswordResponse() (response *ModifyConsumerGroupPasswordResponse)
func (*ModifyConsumerGroupPasswordResponse) FromJsonString ¶
func (r *ModifyConsumerGroupPasswordResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyConsumerGroupPasswordResponse) ToJsonString ¶
func (r *ModifyConsumerGroupPasswordResponse) ToJsonString() string
type ModifyConsumerGroupPasswordResponseParams ¶
type ModifyConsumerGroupPasswordResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyMigrateJobSpecRequest ¶
type ModifyMigrateJobSpecRequest struct { *tchttp.BaseRequest // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // New instance specification. Valid values: `micro`, `small`, `medium`, `large`, `xlarge`, `2xlarge`. NewInstanceClass *string `json:"NewInstanceClass,omitnil,omitempty" name:"NewInstanceClass"` }
func NewModifyMigrateJobSpecRequest ¶
func NewModifyMigrateJobSpecRequest() (request *ModifyMigrateJobSpecRequest)
func (*ModifyMigrateJobSpecRequest) FromJsonString ¶
func (r *ModifyMigrateJobSpecRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMigrateJobSpecRequest) ToJsonString ¶
func (r *ModifyMigrateJobSpecRequest) ToJsonString() string
type ModifyMigrateJobSpecRequestParams ¶
type ModifyMigrateJobSpecRequestParams struct { // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // New instance specification. Valid values: `micro`, `small`, `medium`, `large`, `xlarge`, `2xlarge`. NewInstanceClass *string `json:"NewInstanceClass,omitnil,omitempty" name:"NewInstanceClass"` }
Predefined struct for user
type ModifyMigrateJobSpecResponse ¶
type ModifyMigrateJobSpecResponse struct { *tchttp.BaseResponse Response *ModifyMigrateJobSpecResponseParams `json:"Response"` }
func NewModifyMigrateJobSpecResponse ¶
func NewModifyMigrateJobSpecResponse() (response *ModifyMigrateJobSpecResponse)
func (*ModifyMigrateJobSpecResponse) FromJsonString ¶
func (r *ModifyMigrateJobSpecResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMigrateJobSpecResponse) ToJsonString ¶
func (r *ModifyMigrateJobSpecResponse) ToJsonString() string
type ModifyMigrateJobSpecResponseParams ¶
type ModifyMigrateJobSpecResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyMigrateNameRequest ¶
type ModifyMigrateNameRequest struct { *tchttp.BaseRequest // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // New migration task name JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` }
func NewModifyMigrateNameRequest ¶
func NewModifyMigrateNameRequest() (request *ModifyMigrateNameRequest)
func (*ModifyMigrateNameRequest) FromJsonString ¶
func (r *ModifyMigrateNameRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMigrateNameRequest) ToJsonString ¶
func (r *ModifyMigrateNameRequest) ToJsonString() string
type ModifyMigrateNameRequestParams ¶
type ModifyMigrateNameRequestParams struct { // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // New migration task name JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` }
Predefined struct for user
type ModifyMigrateNameResponse ¶
type ModifyMigrateNameResponse struct { *tchttp.BaseResponse Response *ModifyMigrateNameResponseParams `json:"Response"` }
func NewModifyMigrateNameResponse ¶
func NewModifyMigrateNameResponse() (response *ModifyMigrateNameResponse)
func (*ModifyMigrateNameResponse) FromJsonString ¶
func (r *ModifyMigrateNameResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMigrateNameResponse) ToJsonString ¶
func (r *ModifyMigrateNameResponse) ToJsonString() string
type ModifyMigrateNameResponseParams ¶
type ModifyMigrateNameResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyMigrateRateLimitRequest ¶
type ModifyMigrateRateLimitRequest struct { *tchttp.BaseRequest // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Number of full export threads for migration task. Value range: 1-16. DumpThread *int64 `json:"DumpThread,omitnil,omitempty" name:"DumpThread"` // The full export Rps for migration task. The value needs to be greater than 0. DumpRps *int64 `json:"DumpRps,omitnil,omitempty" name:"DumpRps"` // Number of full import threads for migration task. Value range: 1-16. LoadThread *int64 `json:"LoadThread,omitnil,omitempty" name:"LoadThread"` // Number of incremental import threads for migration task. Value range: 1-128. SinkerThread *int64 `json:"SinkerThread,omitnil,omitempty" name:"SinkerThread"` // Limits for full import Rps. LoadRps *int64 `json:"LoadRps,omitnil,omitempty" name:"LoadRps"` }
func NewModifyMigrateRateLimitRequest ¶
func NewModifyMigrateRateLimitRequest() (request *ModifyMigrateRateLimitRequest)
func (*ModifyMigrateRateLimitRequest) FromJsonString ¶
func (r *ModifyMigrateRateLimitRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMigrateRateLimitRequest) ToJsonString ¶
func (r *ModifyMigrateRateLimitRequest) ToJsonString() string
type ModifyMigrateRateLimitRequestParams ¶
type ModifyMigrateRateLimitRequestParams struct { // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Number of full export threads for migration task. Value range: 1-16. DumpThread *int64 `json:"DumpThread,omitnil,omitempty" name:"DumpThread"` // The full export Rps for migration task. The value needs to be greater than 0. DumpRps *int64 `json:"DumpRps,omitnil,omitempty" name:"DumpRps"` // Number of full import threads for migration task. Value range: 1-16. LoadThread *int64 `json:"LoadThread,omitnil,omitempty" name:"LoadThread"` // Number of incremental import threads for migration task. Value range: 1-128. SinkerThread *int64 `json:"SinkerThread,omitnil,omitempty" name:"SinkerThread"` // Limits for full import Rps. LoadRps *int64 `json:"LoadRps,omitnil,omitempty" name:"LoadRps"` }
Predefined struct for user
type ModifyMigrateRateLimitResponse ¶
type ModifyMigrateRateLimitResponse struct { *tchttp.BaseResponse Response *ModifyMigrateRateLimitResponseParams `json:"Response"` }
func NewModifyMigrateRateLimitResponse ¶
func NewModifyMigrateRateLimitResponse() (response *ModifyMigrateRateLimitResponse)
func (*ModifyMigrateRateLimitResponse) FromJsonString ¶
func (r *ModifyMigrateRateLimitResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMigrateRateLimitResponse) ToJsonString ¶
func (r *ModifyMigrateRateLimitResponse) ToJsonString() string
type ModifyMigrateRateLimitResponseParams ¶
type ModifyMigrateRateLimitResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyMigrateRuntimeAttributeRequest ¶
type ModifyMigrateRuntimeAttributeRequest struct { *tchttp.BaseRequest // Migration task id, for example: dts-2rgv0f09 JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Attributes that need to be modified. This structure is designed as a generic structure to separate customized attributes for multiple businesses. <br>For instance, for Redis:<br>{<br> "Key": "DstWriteMode", // Target database write mode<br> "Value": "normal" // clearData (clear target instance data), overwrite (perform task in overwrite manner), normal (follow normal procedure, no additional actions, this is the default value) <br>},<br>{<br/> "Key": "IsDstReadOnly", // Whether to set target database as read-only during migration<br/> "Value": "true" // true (set as read-only), false (do not set as read-only) <br/>} OtherOptions []*KeyValuePairOption `json:"OtherOptions,omitnil,omitempty" name:"OtherOptions"` }
func NewModifyMigrateRuntimeAttributeRequest ¶
func NewModifyMigrateRuntimeAttributeRequest() (request *ModifyMigrateRuntimeAttributeRequest)
func (*ModifyMigrateRuntimeAttributeRequest) FromJsonString ¶
func (r *ModifyMigrateRuntimeAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMigrateRuntimeAttributeRequest) ToJsonString ¶
func (r *ModifyMigrateRuntimeAttributeRequest) ToJsonString() string
type ModifyMigrateRuntimeAttributeRequestParams ¶
type ModifyMigrateRuntimeAttributeRequestParams struct { // Migration task id, for example: dts-2rgv0f09 JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Attributes that need to be modified. This structure is designed as a generic structure to separate customized attributes for multiple businesses. <br>For instance, for Redis:<br>{<br> "Key": "DstWriteMode", // Target database write mode<br> "Value": "normal" // clearData (clear target instance data), overwrite (perform task in overwrite manner), normal (follow normal procedure, no additional actions, this is the default value) <br>},<br>{<br/> "Key": "IsDstReadOnly", // Whether to set target database as read-only during migration<br/> "Value": "true" // true (set as read-only), false (do not set as read-only) <br/>} OtherOptions []*KeyValuePairOption `json:"OtherOptions,omitnil,omitempty" name:"OtherOptions"` }
Predefined struct for user
type ModifyMigrateRuntimeAttributeResponse ¶
type ModifyMigrateRuntimeAttributeResponse struct { *tchttp.BaseResponse Response *ModifyMigrateRuntimeAttributeResponseParams `json:"Response"` }
func NewModifyMigrateRuntimeAttributeResponse ¶
func NewModifyMigrateRuntimeAttributeResponse() (response *ModifyMigrateRuntimeAttributeResponse)
func (*ModifyMigrateRuntimeAttributeResponse) FromJsonString ¶
func (r *ModifyMigrateRuntimeAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMigrateRuntimeAttributeResponse) ToJsonString ¶
func (r *ModifyMigrateRuntimeAttributeResponse) ToJsonString() string
type ModifyMigrateRuntimeAttributeResponseParams ¶
type ModifyMigrateRuntimeAttributeResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyMigrationJobRequest ¶
type ModifyMigrationJobRequest struct { *tchttp.BaseRequest // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Running mode. Valid values: `immediate`, `timed`. RunMode *string `json:"RunMode,omitnil,omitempty" name:"RunMode"` // Migration task configuration options, which describe how the task performs migration. The `RateLimitOption` option cannot be configured. To modify the speed limit settings of the task, use the `ModifyMigrateRateLimit` API after the task starts running. MigrateOption *MigrateOption `json:"MigrateOption,omitnil,omitempty" name:"MigrateOption"` // Source instance information SrcInfo *DBEndpointInfo `json:"SrcInfo,omitnil,omitempty" name:"SrcInfo"` // Target instance information DstInfo *DBEndpointInfo `json:"DstInfo,omitnil,omitempty" name:"DstInfo"` // Migration task name, which can contain up to 128 characters. JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // Expected start time in the format of "2006-01-02 15:04:05", which is required if `RunMode` is `timed`. ExpectRunTime *string `json:"ExpectRunTime,omitnil,omitempty" name:"ExpectRunTime"` // Tag information Tags []*TagItem `json:"Tags,omitnil,omitempty" name:"Tags"` // Automatic retry time, which can be set to 5-720 minutes. 0 indicates that retry is disabled. AutoRetryTimeRangeMinutes *int64 `json:"AutoRetryTimeRangeMinutes,omitnil,omitempty" name:"AutoRetryTimeRangeMinutes"` }
func NewModifyMigrationJobRequest ¶
func NewModifyMigrationJobRequest() (request *ModifyMigrationJobRequest)
func (*ModifyMigrationJobRequest) FromJsonString ¶
func (r *ModifyMigrationJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMigrationJobRequest) ToJsonString ¶
func (r *ModifyMigrationJobRequest) ToJsonString() string
type ModifyMigrationJobRequestParams ¶
type ModifyMigrationJobRequestParams struct { // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Running mode. Valid values: `immediate`, `timed`. RunMode *string `json:"RunMode,omitnil,omitempty" name:"RunMode"` // Migration task configuration options, which describe how the task performs migration. The `RateLimitOption` option cannot be configured. To modify the speed limit settings of the task, use the `ModifyMigrateRateLimit` API after the task starts running. MigrateOption *MigrateOption `json:"MigrateOption,omitnil,omitempty" name:"MigrateOption"` // Source instance information SrcInfo *DBEndpointInfo `json:"SrcInfo,omitnil,omitempty" name:"SrcInfo"` // Target instance information DstInfo *DBEndpointInfo `json:"DstInfo,omitnil,omitempty" name:"DstInfo"` // Migration task name, which can contain up to 128 characters. JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // Expected start time in the format of "2006-01-02 15:04:05", which is required if `RunMode` is `timed`. ExpectRunTime *string `json:"ExpectRunTime,omitnil,omitempty" name:"ExpectRunTime"` // Tag information Tags []*TagItem `json:"Tags,omitnil,omitempty" name:"Tags"` // Automatic retry time, which can be set to 5-720 minutes. 0 indicates that retry is disabled. AutoRetryTimeRangeMinutes *int64 `json:"AutoRetryTimeRangeMinutes,omitnil,omitempty" name:"AutoRetryTimeRangeMinutes"` }
Predefined struct for user
type ModifyMigrationJobResponse ¶
type ModifyMigrationJobResponse struct { *tchttp.BaseResponse Response *ModifyMigrationJobResponseParams `json:"Response"` }
func NewModifyMigrationJobResponse ¶
func NewModifyMigrationJobResponse() (response *ModifyMigrationJobResponse)
func (*ModifyMigrationJobResponse) FromJsonString ¶
func (r *ModifyMigrationJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMigrationJobResponse) ToJsonString ¶
func (r *ModifyMigrationJobResponse) ToJsonString() string
type ModifyMigrationJobResponseParams ¶
type ModifyMigrationJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifySubscribeAutoRenewFlagRequest ¶
type ModifySubscribeAutoRenewFlagRequest struct { *tchttp.BaseRequest // Subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` // Auto-renewal flag. Valid values: 1 (auto-renewal enabled); 0 (auto-renewal disabled). AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` }
func NewModifySubscribeAutoRenewFlagRequest ¶
func NewModifySubscribeAutoRenewFlagRequest() (request *ModifySubscribeAutoRenewFlagRequest)
func (*ModifySubscribeAutoRenewFlagRequest) FromJsonString ¶
func (r *ModifySubscribeAutoRenewFlagRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySubscribeAutoRenewFlagRequest) ToJsonString ¶
func (r *ModifySubscribeAutoRenewFlagRequest) ToJsonString() string
type ModifySubscribeAutoRenewFlagRequestParams ¶
type ModifySubscribeAutoRenewFlagRequestParams struct { // Subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` // Auto-renewal flag. Valid values: 1 (auto-renewal enabled); 0 (auto-renewal disabled). AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` }
Predefined struct for user
type ModifySubscribeAutoRenewFlagResponse ¶
type ModifySubscribeAutoRenewFlagResponse struct { *tchttp.BaseResponse Response *ModifySubscribeAutoRenewFlagResponseParams `json:"Response"` }
func NewModifySubscribeAutoRenewFlagResponse ¶
func NewModifySubscribeAutoRenewFlagResponse() (response *ModifySubscribeAutoRenewFlagResponse)
func (*ModifySubscribeAutoRenewFlagResponse) FromJsonString ¶
func (r *ModifySubscribeAutoRenewFlagResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySubscribeAutoRenewFlagResponse) ToJsonString ¶
func (r *ModifySubscribeAutoRenewFlagResponse) ToJsonString() string
type ModifySubscribeAutoRenewFlagResponseParams ¶
type ModifySubscribeAutoRenewFlagResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifySubscribeNameRequest ¶
type ModifySubscribeNameRequest struct { *tchttp.BaseRequest // Data subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` // Modified data subscription instance name. Value range: 1-60. SubscribeName *string `json:"SubscribeName,omitnil,omitempty" name:"SubscribeName"` }
func NewModifySubscribeNameRequest ¶
func NewModifySubscribeNameRequest() (request *ModifySubscribeNameRequest)
func (*ModifySubscribeNameRequest) FromJsonString ¶
func (r *ModifySubscribeNameRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySubscribeNameRequest) ToJsonString ¶
func (r *ModifySubscribeNameRequest) ToJsonString() string
type ModifySubscribeNameRequestParams ¶
type ModifySubscribeNameRequestParams struct { // Data subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` // Modified data subscription instance name. Value range: 1-60. SubscribeName *string `json:"SubscribeName,omitnil,omitempty" name:"SubscribeName"` }
Predefined struct for user
type ModifySubscribeNameResponse ¶
type ModifySubscribeNameResponse struct { *tchttp.BaseResponse Response *ModifySubscribeNameResponseParams `json:"Response"` }
func NewModifySubscribeNameResponse ¶
func NewModifySubscribeNameResponse() (response *ModifySubscribeNameResponse)
func (*ModifySubscribeNameResponse) FromJsonString ¶
func (r *ModifySubscribeNameResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySubscribeNameResponse) ToJsonString ¶
func (r *ModifySubscribeNameResponse) ToJsonString() string
type ModifySubscribeNameResponseParams ¶
type ModifySubscribeNameResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifySubscribeObjectsRequest ¶
type ModifySubscribeObjectsRequest struct { *tchttp.BaseRequest // Data subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` // Data subscription type. Valid values for non-mongo task: 0 (full instance update); 1 (data update); 2 (structure update); 3 (data + structure update). Valid values for mongo task: 0 (full instance update); 4 (subscribe to a table); 5 (subscribe to a collection). SubscribeObjectType *int64 `json:"SubscribeObjectType,omitnil,omitempty" name:"SubscribeObjectType"` // Modified subscription database table information. It will replace the original subscription object, this field is required unless SubscribeObjectType = 0 or 2. Objects []*ModifiedSubscribeObject `json:"Objects,omitnil,omitempty" name:"Objects"` // Kafka partitioning policy. If left blank, it will remain unchanged by default. If filled, it will replace the original policy. DistributeRules []*DistributeRule `json:"DistributeRules,omitnil,omitempty" name:"DistributeRules"` // Default partitioning policy. Data that does not meet the regex in DistributeRules will be partitioned according to the default partitioning policy.Default strategies supported by non-mongo products: table - partitioned by table name, pk - partitioned by table name + primary key. Mongo's default strategy only supports: collection-partitioned by collection name.This field is used in conjunction with DistributeRules. If DistributeRules is configured, this field is also required. If this field is configured, it is considered as configuring a DistributeRules, and the original partitioning policy will also be overwritten. DefaultRuleType *string `json:"DefaultRuleType,omitnil,omitempty" name:"DefaultRuleType"` // Mongo output aggregation settings, optional for Mongo tasks. If left blank, no modification will be made by default. PipelineInfo []*PipelineInfo `json:"PipelineInfo,omitnil,omitempty" name:"PipelineInfo"` }
func NewModifySubscribeObjectsRequest ¶
func NewModifySubscribeObjectsRequest() (request *ModifySubscribeObjectsRequest)
func (*ModifySubscribeObjectsRequest) FromJsonString ¶
func (r *ModifySubscribeObjectsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySubscribeObjectsRequest) ToJsonString ¶
func (r *ModifySubscribeObjectsRequest) ToJsonString() string
type ModifySubscribeObjectsRequestParams ¶
type ModifySubscribeObjectsRequestParams struct { // Data subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` // Data subscription type. Valid values for non-mongo task: 0 (full instance update); 1 (data update); 2 (structure update); 3 (data + structure update). Valid values for mongo task: 0 (full instance update); 4 (subscribe to a table); 5 (subscribe to a collection). SubscribeObjectType *int64 `json:"SubscribeObjectType,omitnil,omitempty" name:"SubscribeObjectType"` // Modified subscription database table information. It will replace the original subscription object, this field is required unless SubscribeObjectType = 0 or 2. Objects []*ModifiedSubscribeObject `json:"Objects,omitnil,omitempty" name:"Objects"` // Kafka partitioning policy. If left blank, it will remain unchanged by default. If filled, it will replace the original policy. DistributeRules []*DistributeRule `json:"DistributeRules,omitnil,omitempty" name:"DistributeRules"` // Default partitioning policy. Data that does not meet the regex in DistributeRules will be partitioned according to the default partitioning policy.Default strategies supported by non-mongo products: table - partitioned by table name, pk - partitioned by table name + primary key. Mongo's default strategy only supports: collection-partitioned by collection name.This field is used in conjunction with DistributeRules. If DistributeRules is configured, this field is also required. If this field is configured, it is considered as configuring a DistributeRules, and the original partitioning policy will also be overwritten. DefaultRuleType *string `json:"DefaultRuleType,omitnil,omitempty" name:"DefaultRuleType"` // Mongo output aggregation settings, optional for Mongo tasks. If left blank, no modification will be made by default. PipelineInfo []*PipelineInfo `json:"PipelineInfo,omitnil,omitempty" name:"PipelineInfo"` }
Predefined struct for user
type ModifySubscribeObjectsResponse ¶
type ModifySubscribeObjectsResponse struct { *tchttp.BaseResponse Response *ModifySubscribeObjectsResponseParams `json:"Response"` }
func NewModifySubscribeObjectsResponse ¶
func NewModifySubscribeObjectsResponse() (response *ModifySubscribeObjectsResponse)
func (*ModifySubscribeObjectsResponse) FromJsonString ¶
func (r *ModifySubscribeObjectsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySubscribeObjectsResponse) ToJsonString ¶
func (r *ModifySubscribeObjectsResponse) ToJsonString() string
type ModifySubscribeObjectsResponseParams ¶
type ModifySubscribeObjectsResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifySyncJobConfigRequest ¶
type ModifySyncJobConfigRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // The modified sync objects DynamicObjects *Objects `json:"DynamicObjects,omitnil,omitempty" name:"DynamicObjects"` // The modified sync task options DynamicOptions *DynamicOptions `json:"DynamicOptions,omitnil,omitempty" name:"DynamicOptions"` }
func NewModifySyncJobConfigRequest ¶
func NewModifySyncJobConfigRequest() (request *ModifySyncJobConfigRequest)
func (*ModifySyncJobConfigRequest) FromJsonString ¶
func (r *ModifySyncJobConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySyncJobConfigRequest) ToJsonString ¶
func (r *ModifySyncJobConfigRequest) ToJsonString() string
type ModifySyncJobConfigRequestParams ¶
type ModifySyncJobConfigRequestParams struct { // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // The modified sync objects DynamicObjects *Objects `json:"DynamicObjects,omitnil,omitempty" name:"DynamicObjects"` // The modified sync task options DynamicOptions *DynamicOptions `json:"DynamicOptions,omitnil,omitempty" name:"DynamicOptions"` }
Predefined struct for user
type ModifySyncJobConfigResponse ¶
type ModifySyncJobConfigResponse struct { *tchttp.BaseResponse Response *ModifySyncJobConfigResponseParams `json:"Response"` }
func NewModifySyncJobConfigResponse ¶
func NewModifySyncJobConfigResponse() (response *ModifySyncJobConfigResponse)
func (*ModifySyncJobConfigResponse) FromJsonString ¶
func (r *ModifySyncJobConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySyncJobConfigResponse) ToJsonString ¶
func (r *ModifySyncJobConfigResponse) ToJsonString() string
type ModifySyncJobConfigResponseParams ¶
type ModifySyncJobConfigResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifySyncRateLimitRequest ¶
type ModifySyncRateLimitRequest struct { *tchttp.BaseRequest // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Number of full export threads for sync task. Value range: 1-16. DumpThread *int64 `json:"DumpThread,omitnil,omitempty" name:"DumpThread"` // The full export Rps for sync task. The value needs to be greater than 0. DumpRps *int64 `json:"DumpRps,omitnil,omitempty" name:"DumpRps"` // Number of full import threads for sync task. Value range: 1-16. LoadThread *int64 `json:"LoadThread,omitnil,omitempty" name:"LoadThread"` // Number of incremental import threads for sync task. Value range: 1-128. SinkerThread *int64 `json:"SinkerThread,omitnil,omitempty" name:"SinkerThread"` // The full import Rps for sync task. LoadRps *int64 `json:"LoadRps,omitnil,omitempty" name:"LoadRps"` }
func NewModifySyncRateLimitRequest ¶
func NewModifySyncRateLimitRequest() (request *ModifySyncRateLimitRequest)
func (*ModifySyncRateLimitRequest) FromJsonString ¶
func (r *ModifySyncRateLimitRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySyncRateLimitRequest) ToJsonString ¶
func (r *ModifySyncRateLimitRequest) ToJsonString() string
type ModifySyncRateLimitRequestParams ¶
type ModifySyncRateLimitRequestParams struct { // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Number of full export threads for sync task. Value range: 1-16. DumpThread *int64 `json:"DumpThread,omitnil,omitempty" name:"DumpThread"` // The full export Rps for sync task. The value needs to be greater than 0. DumpRps *int64 `json:"DumpRps,omitnil,omitempty" name:"DumpRps"` // Number of full import threads for sync task. Value range: 1-16. LoadThread *int64 `json:"LoadThread,omitnil,omitempty" name:"LoadThread"` // Number of incremental import threads for sync task. Value range: 1-128. SinkerThread *int64 `json:"SinkerThread,omitnil,omitempty" name:"SinkerThread"` // The full import Rps for sync task. LoadRps *int64 `json:"LoadRps,omitnil,omitempty" name:"LoadRps"` }
Predefined struct for user
type ModifySyncRateLimitResponse ¶
type ModifySyncRateLimitResponse struct { *tchttp.BaseResponse Response *ModifySyncRateLimitResponseParams `json:"Response"` }
func NewModifySyncRateLimitResponse ¶
func NewModifySyncRateLimitResponse() (response *ModifySyncRateLimitResponse)
func (*ModifySyncRateLimitResponse) FromJsonString ¶
func (r *ModifySyncRateLimitResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySyncRateLimitResponse) ToJsonString ¶
func (r *ModifySyncRateLimitResponse) ToJsonString() string
type ModifySyncRateLimitResponseParams ¶
type ModifySyncRateLimitResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type MonitorInfo ¶
type MonitorInfo struct { // The number of the current partition, starting from 0. PartitionNo *int64 `json:"PartitionNo,omitnil,omitempty" name:"PartitionNo"` // The offset of the current partition. ConsumerGroupOffset *int64 `json:"ConsumerGroupOffset,omitnil,omitempty" name:"ConsumerGroupOffset"` // The amount of unconsumed data in the current partition. ConsumerGroupLag *int64 `json:"ConsumerGroupLag,omitnil,omitempty" name:"ConsumerGroupLag"` // The consumption delay of the current partition (in seconds). Latency *int64 `json:"Latency,omitnil,omitempty" name:"Latency"` }
type Objects ¶
type Objects struct { // Sync object type. Valid value: `Partial` (Partial objects). Note: This field may return null, indicating that no valid values can be obtained. Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"` // Sync object, which is required if `Mode` is `Partial`. // Note: This field may return null, indicating that no valid values can be obtained. Databases []*Database `json:"Databases,omitnil,omitempty" name:"Databases"` // Advanced object types, such as function and procedure. Note: If you want to migrate and synchronize advanced objects, the corresponding advanced object type should be included in this configuration. When advanced objects need to be synchronized, the initialization type must include the structure initialization type, that is, the Options.InitType value of the task is Structure or Full.Note: This field may return null, indicating that no valid values can be obtained. AdvancedObjects []*string `json:"AdvancedObjects,omitnil,omitempty" name:"AdvancedObjects"` // A redundant field that specifies the online DDL type // Note: This field may return null, indicating that no valid values can be obtained. OnlineDDL *OnlineDDL `json:"OnlineDDL,omitnil,omitempty" name:"OnlineDDL"` }
type OffsetTimeMap ¶
type OffsetTimeMap struct { // Kafka partition numberNote: This field may return null, indicating that no valid values can be obtained. PartitionNo *uint64 `json:"PartitionNo,omitnil,omitempty" name:"PartitionNo"` // Kafka offsetNote: This field may return null, indicating that no valid values can be obtained. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
type OnlineDDL ¶
type OnlineDDL struct { // Status // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` }
type Options ¶
type Options struct { // Sync initialization option. Valid values: `data` (full data initialization); `Structure` (structure initialization); `Full` (full data and structure initialization); `None` (incremental data only). Default value: `Full`. // Note: This field may return null, indicating that no valid values can be obtained. InitType *string `json:"InitType,omitnil,omitempty" name:"InitType"` // Processing method for duplicate tables. Valid values: `ReportErrorAfterCheck`, `InitializeAfterDelete`, `ExecuteAfterIgnore`. Default value: `ReportErrorAfterCheck`. // Note: This field may return null, indicating that no valid values can be obtained. DealOfExistSameTable *string `json:"DealOfExistSameTable,omitnil,omitempty" name:"DealOfExistSameTable"` // Conflict processing option. Valid values: `ReportError` (report an error); `Ignore` (ignore); `Cover` (overwrite); `ConditionCover` (conditionally overwrite). Default value: `ReportError`. // Note: This field may return null, indicating that no valid values can be obtained. ConflictHandleType *string `json:"ConflictHandleType,omitnil,omitempty" name:"ConflictHandleType"` // Whether to add the additional column // Note: This field may return null, indicating that no valid values can be obtained. AddAdditionalColumn *bool `json:"AddAdditionalColumn,omitnil,omitempty" name:"AddAdditionalColumn"` // DML and DDL options to be synced. Valid values: `Insert` (INSERT operations); `Update` (UPDATE operations); `Delete` (DELETE operations); `DDL` (structure sync); `PartialDDL` (custom option, which is used together with `DdlOptions`). You can also leave this parameter empty. // Note: This field may return null, indicating that no valid values can be obtained. OpTypes []*string `json:"OpTypes,omitnil,omitempty" name:"OpTypes"` // Detailed option for conflict processing, such as condition rows and operations in conditional overwrite. // Note: This field may return null, indicating that no valid values can be obtained. ConflictHandleOption *ConflictHandleOption `json:"ConflictHandleOption,omitnil,omitempty" name:"ConflictHandleOption"` // DDL statements to be synced // Note: This field may return null, indicating that no valid values can be obtained. DdlOptions []*DdlOption `json:"DdlOptions,omitnil,omitempty" name:"DdlOptions"` // Kafka sync options // Note: This field may return null, indicating that no valid values can be obtained. KafkaOption *KafkaOption `json:"KafkaOption,omitnil,omitempty" name:"KafkaOption"` // Task speed limit information // Note: This field may return null, indicating that no valid values can be obtained. RateLimitOption *RateLimitOption `json:"RateLimitOption,omitnil,omitempty" name:"RateLimitOption"` // Settings of the automatic retry time range // Note: This field may return null, indicating that no valid values can be obtained. AutoRetryTimeRangeMinutes *int64 `json:"AutoRetryTimeRangeMinutes,omitnil,omitempty" name:"AutoRetryTimeRangeMinutes"` FilterBeginCommit *bool `json:"FilterBeginCommit,omitnil,omitempty" name:"FilterBeginCommit"` FilterCheckpoint *bool `json:"FilterCheckpoint,omitnil,omitempty" name:"FilterCheckpoint"` }
type PartitionAssignment ¶
type PartitionAssignment struct { // The clientId of the consumer ClientId *string `json:"ClientId,omitnil,omitempty" name:"ClientId"` // The partition is being consumed by this consumer.Note: This field may return null, indicating that no valid values can be obtained. PartitionNo []*uint64 `json:"PartitionNo,omitnil,omitempty" name:"PartitionNo"` }
type PauseMigrateJobRequest ¶
type PauseMigrateJobRequest struct { *tchttp.BaseRequest // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewPauseMigrateJobRequest ¶
func NewPauseMigrateJobRequest() (request *PauseMigrateJobRequest)
func (*PauseMigrateJobRequest) FromJsonString ¶
func (r *PauseMigrateJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PauseMigrateJobRequest) ToJsonString ¶
func (r *PauseMigrateJobRequest) ToJsonString() string
type PauseMigrateJobRequestParams ¶
type PauseMigrateJobRequestParams struct { // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type PauseMigrateJobResponse ¶
type PauseMigrateJobResponse struct { *tchttp.BaseResponse Response *PauseMigrateJobResponseParams `json:"Response"` }
func NewPauseMigrateJobResponse ¶
func NewPauseMigrateJobResponse() (response *PauseMigrateJobResponse)
func (*PauseMigrateJobResponse) FromJsonString ¶
func (r *PauseMigrateJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PauseMigrateJobResponse) ToJsonString ¶
func (r *PauseMigrateJobResponse) ToJsonString() string
type PauseMigrateJobResponseParams ¶
type PauseMigrateJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type PauseSyncJobRequest ¶
type PauseSyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewPauseSyncJobRequest ¶
func NewPauseSyncJobRequest() (request *PauseSyncJobRequest)
func (*PauseSyncJobRequest) FromJsonString ¶
func (r *PauseSyncJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PauseSyncJobRequest) ToJsonString ¶
func (r *PauseSyncJobRequest) ToJsonString() string
type PauseSyncJobRequestParams ¶
type PauseSyncJobRequestParams struct { // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type PauseSyncJobResponse ¶
type PauseSyncJobResponse struct { *tchttp.BaseResponse Response *PauseSyncJobResponseParams `json:"Response"` }
func NewPauseSyncJobResponse ¶
func NewPauseSyncJobResponse() (response *PauseSyncJobResponse)
func (*PauseSyncJobResponse) FromJsonString ¶
func (r *PauseSyncJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PauseSyncJobResponse) ToJsonString ¶
func (r *PauseSyncJobResponse) ToJsonString() string
type PauseSyncJobResponseParams ¶
type PauseSyncJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type PipelineInfo ¶
type PipelineInfo struct { // Aggregation operators: $addFields, $match, $project, $replaceRoot, $redact, $replaceWith, $set, $unset. $replaceWith, $set, $unset are available options for subscription instances that are version 4.2 or higher.Note: This field may return null, indicating that no valid values can be obtained. AggOp *string `json:"AggOp,omitnil,omitempty" name:"AggOp"` // Aggregation expression must be in json format.Note: This field may return null, indicating that no valid values can be obtained. AggCmd *string `json:"AggCmd,omitnil,omitempty" name:"AggCmd"` }
type ProcessProgress ¶
type ProcessProgress struct { // Step status. Valid values: `notStarted`, `running`, `success`, `failed`. // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Progress information // Note: This field may return null, indicating that no valid values can be obtained. Percent *uint64 `json:"Percent,omitnil,omitempty" name:"Percent"` // Total number of steps // Note: This field may return null, indicating that no valid values can be obtained. StepAll *uint64 `json:"StepAll,omitnil,omitempty" name:"StepAll"` // Current step // Note: This field may return null, indicating that no valid values can be obtained. StepNow *uint64 `json:"StepNow,omitnil,omitempty" name:"StepNow"` // The prompt output in the current step // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Step information // Note: This field may return null, indicating that no valid values can be obtained. Steps []*StepDetailInfo `json:"Steps,omitnil,omitempty" name:"Steps"` }
type ProcessStepTip ¶
type ProcessStepTip struct { // Prompt message // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Solution // Note: This field may return null, indicating that no valid values can be obtained. Solution *string `json:"Solution,omitnil,omitempty" name:"Solution"` // Help document // Note: This field may return null, indicating that no valid values can be obtained. HelpDoc *string `json:"HelpDoc,omitnil,omitempty" name:"HelpDoc"` }
type RateLimitOption ¶
type RateLimitOption struct { // The number of full export threads currently in effect. The value of this field can be adjusted when configuring the task. Note: If it is not set or set to 0, it means the current value is maintained. The maximum value is 16.Note: This field may return null, indicating that no valid values can be obtained. CurrentDumpThread *int64 `json:"CurrentDumpThread,omitnil,omitempty" name:"CurrentDumpThread"` // The default number of full export threads. This field is only meaningful in the output parameter.Note: This field may return null, indicating that no valid values can be obtained. DefaultDumpThread *int64 `json:"DefaultDumpThread,omitnil,omitempty" name:"DefaultDumpThread"` // The full export Rps currently in effect. The value of this field can be adjusted when configuring the task. Note: If it is not set or set to 0, it means the current value is maintained. The maximum value is 50,000,000.Note: This field may return null, indicating that no valid values can be obtained. CurrentDumpRps *int64 `json:"CurrentDumpRps,omitnil,omitempty" name:"CurrentDumpRps"` // The default full export Rps. This field is only meaningful in the output parameter.Note: This field may return null, indicating that no valid values can be obtained. DefaultDumpRps *int64 `json:"DefaultDumpRps,omitnil,omitempty" name:"DefaultDumpRps"` // The number of full import threads currently in effect. The value of this field can be adjusted when configuring the task. Note: If it is not set or set to 0, it means the current value is maintained. The maximum value is 16.Note: This field may return null, indicating that no valid values can be obtained. CurrentLoadThread *int64 `json:"CurrentLoadThread,omitnil,omitempty" name:"CurrentLoadThread"` // The default number of full import threads. This field is only meaningful in the output parameter.Note: This field may return null, indicating that no valid values can be obtained. DefaultLoadThread *int64 `json:"DefaultLoadThread,omitnil,omitempty" name:"DefaultLoadThread"` // The full import Rps currently in effect. The value of this field can be adjusted when configuring the task. Note: If it is not set or set to 0, it means the current value is maintained. The maximum value is 50,000,000.Note: This field may return null, indicating that no valid values can be obtained. CurrentLoadRps *int64 `json:"CurrentLoadRps,omitnil,omitempty" name:"CurrentLoadRps"` // The default full import Rps. This field is only meaningful in the output parameter.Note: This field may return null, indicating that no valid values can be obtained. DefaultLoadRps *int64 `json:"DefaultLoadRps,omitnil,omitempty" name:"DefaultLoadRps"` // The number of incremental import threads currently in effect. The value of this field can be adjusted when configuring the task. Note: If it is not set or set to 0, it means the current value is maintained. The maximum value is 128.Note: This field may return null, indicating that no valid values can be obtained. CurrentSinkerThread *int64 `json:"CurrentSinkerThread,omitnil,omitempty" name:"CurrentSinkerThread"` // The default number of incremental import threads. This field is only meaningful in the output parameter. // Note: This field may return null, indicating that no valid values can be obtained. DefaultSinkerThread *int64 `json:"DefaultSinkerThread,omitnil,omitempty" name:"DefaultSinkerThread"` // enum:"no"/"yes", no: the user has not set a speed limit; yes: a speed limit has been set. This field is only meaningful in the output parameter.Note: This field may return null, indicating that no valid values can be obtained. HasUserSetRateLimit *string `json:"HasUserSetRateLimit,omitnil,omitempty" name:"HasUserSetRateLimit"` }
type RecoverMigrateJobRequest ¶
type RecoverMigrateJobRequest struct { *tchttp.BaseRequest // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewRecoverMigrateJobRequest ¶
func NewRecoverMigrateJobRequest() (request *RecoverMigrateJobRequest)
func (*RecoverMigrateJobRequest) FromJsonString ¶
func (r *RecoverMigrateJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RecoverMigrateJobRequest) ToJsonString ¶
func (r *RecoverMigrateJobRequest) ToJsonString() string
type RecoverMigrateJobRequestParams ¶
type RecoverMigrateJobRequestParams struct { // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type RecoverMigrateJobResponse ¶
type RecoverMigrateJobResponse struct { *tchttp.BaseResponse Response *RecoverMigrateJobResponseParams `json:"Response"` }
func NewRecoverMigrateJobResponse ¶
func NewRecoverMigrateJobResponse() (response *RecoverMigrateJobResponse)
func (*RecoverMigrateJobResponse) FromJsonString ¶
func (r *RecoverMigrateJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RecoverMigrateJobResponse) ToJsonString ¶
func (r *RecoverMigrateJobResponse) ToJsonString() string
type RecoverMigrateJobResponseParams ¶
type RecoverMigrateJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RecoverSyncJobRequest ¶
type RecoverSyncJobRequest struct { *tchttp.BaseRequest // Sync task instance ID in the format of `sync-werwfs23`, which is used to identify a sync task. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewRecoverSyncJobRequest ¶
func NewRecoverSyncJobRequest() (request *RecoverSyncJobRequest)
func (*RecoverSyncJobRequest) FromJsonString ¶
func (r *RecoverSyncJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RecoverSyncJobRequest) ToJsonString ¶
func (r *RecoverSyncJobRequest) ToJsonString() string
type RecoverSyncJobRequestParams ¶
type RecoverSyncJobRequestParams struct { // Sync task instance ID in the format of `sync-werwfs23`, which is used to identify a sync task. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type RecoverSyncJobResponse ¶
type RecoverSyncJobResponse struct { *tchttp.BaseResponse Response *RecoverSyncJobResponseParams `json:"Response"` }
func NewRecoverSyncJobResponse ¶
func NewRecoverSyncJobResponse() (response *RecoverSyncJobResponse)
func (*RecoverSyncJobResponse) FromJsonString ¶
func (r *RecoverSyncJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RecoverSyncJobResponse) ToJsonString ¶
func (r *RecoverSyncJobResponse) ToJsonString() string
type RecoverSyncJobResponseParams ¶
type RecoverSyncJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ResetConsumerGroupOffsetRequest ¶
type ResetConsumerGroupOffsetRequest struct { *tchttp.BaseRequest // Subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` // Subscribed Kafka topic TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // Consumer group name. The full name of the actual consumer group is in the form: consumer-grp-#{SubscribeId}-#{ConsumerGroupName}. ConsumerGroupName *string `json:"ConsumerGroupName,omitnil,omitempty" name:"ConsumerGroupName"` // The partition number of offset needs to be modified. PartitionNos []*int64 `json:"PartitionNos,omitnil,omitempty" name:"PartitionNos"` // Reset mode. Valid values: earliest (start consumption from the earliest position); latest (start consumption from the latest position); datetime (start consumption from the most recent checkpoint before the specified time). ResetMode *string `json:"ResetMode,omitnil,omitempty" name:"ResetMode"` // When ResetMode is datetime, this field needs to be filled in, the format is: Y-m-d h:m:s. If not filled in, the default time is 0, and the effect is the same as earliest. ResetDatetime *string `json:"ResetDatetime,omitnil,omitempty" name:"ResetDatetime"` }
func NewResetConsumerGroupOffsetRequest ¶
func NewResetConsumerGroupOffsetRequest() (request *ResetConsumerGroupOffsetRequest)
func (*ResetConsumerGroupOffsetRequest) FromJsonString ¶
func (r *ResetConsumerGroupOffsetRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetConsumerGroupOffsetRequest) ToJsonString ¶
func (r *ResetConsumerGroupOffsetRequest) ToJsonString() string
type ResetConsumerGroupOffsetRequestParams ¶
type ResetConsumerGroupOffsetRequestParams struct { // Subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` // Subscribed Kafka topic TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // Consumer group name. The full name of the actual consumer group is in the form: consumer-grp-#{SubscribeId}-#{ConsumerGroupName}. ConsumerGroupName *string `json:"ConsumerGroupName,omitnil,omitempty" name:"ConsumerGroupName"` // The partition number of offset needs to be modified. PartitionNos []*int64 `json:"PartitionNos,omitnil,omitempty" name:"PartitionNos"` // Reset mode. Valid values: earliest (start consumption from the earliest position); latest (start consumption from the latest position); datetime (start consumption from the most recent checkpoint before the specified time). ResetMode *string `json:"ResetMode,omitnil,omitempty" name:"ResetMode"` // When ResetMode is datetime, this field needs to be filled in, the format is: Y-m-d h:m:s. If not filled in, the default time is 0, and the effect is the same as earliest. ResetDatetime *string `json:"ResetDatetime,omitnil,omitempty" name:"ResetDatetime"` }
Predefined struct for user
type ResetConsumerGroupOffsetResponse ¶
type ResetConsumerGroupOffsetResponse struct { *tchttp.BaseResponse Response *ResetConsumerGroupOffsetResponseParams `json:"Response"` }
func NewResetConsumerGroupOffsetResponse ¶
func NewResetConsumerGroupOffsetResponse() (response *ResetConsumerGroupOffsetResponse)
func (*ResetConsumerGroupOffsetResponse) FromJsonString ¶
func (r *ResetConsumerGroupOffsetResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetConsumerGroupOffsetResponse) ToJsonString ¶
func (r *ResetConsumerGroupOffsetResponse) ToJsonString() string
type ResetConsumerGroupOffsetResponseParams ¶
type ResetConsumerGroupOffsetResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ResetSubscribeRequest ¶
type ResetSubscribeRequest struct { *tchttp.BaseRequest // Data subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` }
func NewResetSubscribeRequest ¶
func NewResetSubscribeRequest() (request *ResetSubscribeRequest)
func (*ResetSubscribeRequest) FromJsonString ¶
func (r *ResetSubscribeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetSubscribeRequest) ToJsonString ¶
func (r *ResetSubscribeRequest) ToJsonString() string
type ResetSubscribeRequestParams ¶
type ResetSubscribeRequestParams struct { // Data subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` }
Predefined struct for user
type ResetSubscribeResponse ¶
type ResetSubscribeResponse struct { *tchttp.BaseResponse Response *ResetSubscribeResponseParams `json:"Response"` }
func NewResetSubscribeResponse ¶
func NewResetSubscribeResponse() (response *ResetSubscribeResponse)
func (*ResetSubscribeResponse) FromJsonString ¶
func (r *ResetSubscribeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetSubscribeResponse) ToJsonString ¶
func (r *ResetSubscribeResponse) ToJsonString() string
type ResetSubscribeResponseParams ¶
type ResetSubscribeResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ResizeSyncJobRequest ¶
type ResizeSyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Task specification NewInstanceClass *string `json:"NewInstanceClass,omitnil,omitempty" name:"NewInstanceClass"` }
func NewResizeSyncJobRequest ¶
func NewResizeSyncJobRequest() (request *ResizeSyncJobRequest)
func (*ResizeSyncJobRequest) FromJsonString ¶
func (r *ResizeSyncJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResizeSyncJobRequest) ToJsonString ¶
func (r *ResizeSyncJobRequest) ToJsonString() string
type ResizeSyncJobRequestParams ¶
type ResizeSyncJobRequestParams struct { // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Task specification NewInstanceClass *string `json:"NewInstanceClass,omitnil,omitempty" name:"NewInstanceClass"` }
Predefined struct for user
type ResizeSyncJobResponse ¶
type ResizeSyncJobResponse struct { *tchttp.BaseResponse Response *ResizeSyncJobResponseParams `json:"Response"` }
func NewResizeSyncJobResponse ¶
func NewResizeSyncJobResponse() (response *ResizeSyncJobResponse)
func (*ResizeSyncJobResponse) FromJsonString ¶
func (r *ResizeSyncJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResizeSyncJobResponse) ToJsonString ¶
func (r *ResizeSyncJobResponse) ToJsonString() string
type ResizeSyncJobResponseParams ¶
type ResizeSyncJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ResumeMigrateJobRequest ¶
type ResumeMigrateJobRequest struct { *tchttp.BaseRequest // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Task resumption mode. Valid values: `clearData` (Clearing the target instance data); `overwrite` (Executing the task in overwrite mode); `normal` (Following the normal process without additional operations). `clearData` and `overwrite` are only valid for Redis links and `normal` for non-Redis links. ResumeOption *string `json:"ResumeOption,omitnil,omitempty" name:"ResumeOption"` }
func NewResumeMigrateJobRequest ¶
func NewResumeMigrateJobRequest() (request *ResumeMigrateJobRequest)
func (*ResumeMigrateJobRequest) FromJsonString ¶
func (r *ResumeMigrateJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResumeMigrateJobRequest) ToJsonString ¶
func (r *ResumeMigrateJobRequest) ToJsonString() string
type ResumeMigrateJobRequestParams ¶
type ResumeMigrateJobRequestParams struct { // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Task resumption mode. Valid values: `clearData` (Clearing the target instance data); `overwrite` (Executing the task in overwrite mode); `normal` (Following the normal process without additional operations). `clearData` and `overwrite` are only valid for Redis links and `normal` for non-Redis links. ResumeOption *string `json:"ResumeOption,omitnil,omitempty" name:"ResumeOption"` }
Predefined struct for user
type ResumeMigrateJobResponse ¶
type ResumeMigrateJobResponse struct { *tchttp.BaseResponse Response *ResumeMigrateJobResponseParams `json:"Response"` }
func NewResumeMigrateJobResponse ¶
func NewResumeMigrateJobResponse() (response *ResumeMigrateJobResponse)
func (*ResumeMigrateJobResponse) FromJsonString ¶
func (r *ResumeMigrateJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResumeMigrateJobResponse) ToJsonString ¶
func (r *ResumeMigrateJobResponse) ToJsonString() string
type ResumeMigrateJobResponseParams ¶
type ResumeMigrateJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ResumeSubscribeRequest ¶
type ResumeSubscribeRequest struct { *tchttp.BaseRequest // Data subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` }
func NewResumeSubscribeRequest ¶
func NewResumeSubscribeRequest() (request *ResumeSubscribeRequest)
func (*ResumeSubscribeRequest) FromJsonString ¶
func (r *ResumeSubscribeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResumeSubscribeRequest) ToJsonString ¶
func (r *ResumeSubscribeRequest) ToJsonString() string
type ResumeSubscribeRequestParams ¶
type ResumeSubscribeRequestParams struct { // Data subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` }
Predefined struct for user
type ResumeSubscribeResponse ¶
type ResumeSubscribeResponse struct { *tchttp.BaseResponse Response *ResumeSubscribeResponseParams `json:"Response"` }
func NewResumeSubscribeResponse ¶
func NewResumeSubscribeResponse() (response *ResumeSubscribeResponse)
func (*ResumeSubscribeResponse) FromJsonString ¶
func (r *ResumeSubscribeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResumeSubscribeResponse) ToJsonString ¶
func (r *ResumeSubscribeResponse) ToJsonString() string
type ResumeSubscribeResponseParams ¶
type ResumeSubscribeResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ResumeSyncJobRequest ¶
type ResumeSyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewResumeSyncJobRequest ¶
func NewResumeSyncJobRequest() (request *ResumeSyncJobRequest)
func (*ResumeSyncJobRequest) FromJsonString ¶
func (r *ResumeSyncJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResumeSyncJobRequest) ToJsonString ¶
func (r *ResumeSyncJobRequest) ToJsonString() string
type ResumeSyncJobRequestParams ¶
type ResumeSyncJobRequestParams struct { // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type ResumeSyncJobResponse ¶
type ResumeSyncJobResponse struct { *tchttp.BaseResponse Response *ResumeSyncJobResponseParams `json:"Response"` }
func NewResumeSyncJobResponse ¶
func NewResumeSyncJobResponse() (response *ResumeSyncJobResponse)
func (*ResumeSyncJobResponse) FromJsonString ¶
func (r *ResumeSyncJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResumeSyncJobResponse) ToJsonString ¶
func (r *ResumeSyncJobResponse) ToJsonString() string
type ResumeSyncJobResponseParams ¶
type ResumeSyncJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RoleItem ¶
type RoleItem struct { // Role name // Note: This field may return null, indicating that no valid values can be obtained. RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"` // Role name after migration // Note: This field may return null, indicating that no valid values can be obtained. NewRoleName *string `json:"NewRoleName,omitnil,omitempty" name:"NewRoleName"` }
type SkipCheckItemRequest ¶
type SkipCheckItemRequest struct { *tchttp.BaseRequest // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // ID of the check step to be skipped, which is obtained in the `StepInfo[i].StepId` field returned by the `DescribeMigrationCheckJob` API, such as "OptimizeCheck". StepIds []*string `json:"StepIds,omitnil,omitempty" name:"StepIds"` // When the check fails due to foreign key dependency, you can use this field to specify whether to migrate the foreign key dependency. The foreign key dependency won’t be migrated when `StepIds` contains `ConstraintCheck` and the value of this field is `shield`, and will be migrated when `StepIds` contains `ConstraintCheck` and the value of this field is `migrate`. ForeignKeyFlag *string `json:"ForeignKeyFlag,omitnil,omitempty" name:"ForeignKeyFlag"` }
func NewSkipCheckItemRequest ¶
func NewSkipCheckItemRequest() (request *SkipCheckItemRequest)
func (*SkipCheckItemRequest) FromJsonString ¶
func (r *SkipCheckItemRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SkipCheckItemRequest) ToJsonString ¶
func (r *SkipCheckItemRequest) ToJsonString() string
type SkipCheckItemRequestParams ¶
type SkipCheckItemRequestParams struct { // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // ID of the check step to be skipped, which is obtained in the `StepInfo[i].StepId` field returned by the `DescribeMigrationCheckJob` API, such as "OptimizeCheck". StepIds []*string `json:"StepIds,omitnil,omitempty" name:"StepIds"` // When the check fails due to foreign key dependency, you can use this field to specify whether to migrate the foreign key dependency. The foreign key dependency won’t be migrated when `StepIds` contains `ConstraintCheck` and the value of this field is `shield`, and will be migrated when `StepIds` contains `ConstraintCheck` and the value of this field is `migrate`. ForeignKeyFlag *string `json:"ForeignKeyFlag,omitnil,omitempty" name:"ForeignKeyFlag"` }
Predefined struct for user
type SkipCheckItemResponse ¶
type SkipCheckItemResponse struct { *tchttp.BaseResponse Response *SkipCheckItemResponseParams `json:"Response"` }
func NewSkipCheckItemResponse ¶
func NewSkipCheckItemResponse() (response *SkipCheckItemResponse)
func (*SkipCheckItemResponse) FromJsonString ¶
func (r *SkipCheckItemResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SkipCheckItemResponse) ToJsonString ¶
func (r *SkipCheckItemResponse) ToJsonString() string
type SkipCheckItemResponseParams ¶
type SkipCheckItemResponseParams struct { // Message prompted for skipping the check item // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SkipSyncCheckItemRequest ¶
type SkipSyncCheckItemRequest struct { *tchttp.BaseRequest // Task ID, such as "sync-4ddgid2". JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // ID of the check step to be skipped, which is obtained in the `StepInfos[i].StepId` field returned by the `DescribeCheckSyncJobResult` API, such as "OptimizeCheck". StepIds []*string `json:"StepIds,omitnil,omitempty" name:"StepIds"` }
func NewSkipSyncCheckItemRequest ¶
func NewSkipSyncCheckItemRequest() (request *SkipSyncCheckItemRequest)
func (*SkipSyncCheckItemRequest) FromJsonString ¶
func (r *SkipSyncCheckItemRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SkipSyncCheckItemRequest) ToJsonString ¶
func (r *SkipSyncCheckItemRequest) ToJsonString() string
type SkipSyncCheckItemRequestParams ¶
type SkipSyncCheckItemRequestParams struct { // Task ID, such as "sync-4ddgid2". JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // ID of the check step to be skipped, which is obtained in the `StepInfos[i].StepId` field returned by the `DescribeCheckSyncJobResult` API, such as "OptimizeCheck". StepIds []*string `json:"StepIds,omitnil,omitempty" name:"StepIds"` }
Predefined struct for user
type SkipSyncCheckItemResponse ¶
type SkipSyncCheckItemResponse struct { *tchttp.BaseResponse Response *SkipSyncCheckItemResponseParams `json:"Response"` }
func NewSkipSyncCheckItemResponse ¶
func NewSkipSyncCheckItemResponse() (response *SkipSyncCheckItemResponse)
func (*SkipSyncCheckItemResponse) FromJsonString ¶
func (r *SkipSyncCheckItemResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SkipSyncCheckItemResponse) ToJsonString ¶
func (r *SkipSyncCheckItemResponse) ToJsonString() string
type SkipSyncCheckItemResponseParams ¶
type SkipSyncCheckItemResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SkippedDetail ¶
type SkippedDetail struct { // Number of skipped tables // Note: This field may return null, indicating that no valid values can be obtained. TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Details of skipped tables // Note: This field may return null, indicating that no valid values can be obtained. Items []*SkippedItem `json:"Items,omitnil,omitempty" name:"Items"` }
type SkippedItem ¶
type SkippedItem struct { // Database name // Note: This field may return null, indicating that no valid values can be obtained. Db *string `json:"Db,omitnil,omitempty" name:"Db"` // Table name // Note: This field may return null, indicating that no valid values can be obtained. Table *string `json:"Table,omitnil,omitempty" name:"Table"` // The cause why check is not initiated // Note: This field may return null, indicating that no valid values can be obtained. Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"` }
type StartCompareRequest ¶
type StartCompareRequest struct { *tchttp.BaseRequest // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` }
func NewStartCompareRequest ¶
func NewStartCompareRequest() (request *StartCompareRequest)
func (*StartCompareRequest) FromJsonString ¶
func (r *StartCompareRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartCompareRequest) ToJsonString ¶
func (r *StartCompareRequest) ToJsonString() string
type StartCompareRequestParams ¶
type StartCompareRequestParams struct { // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` }
Predefined struct for user
type StartCompareResponse ¶
type StartCompareResponse struct { *tchttp.BaseResponse Response *StartCompareResponseParams `json:"Response"` }
func NewStartCompareResponse ¶
func NewStartCompareResponse() (response *StartCompareResponse)
func (*StartCompareResponse) FromJsonString ¶
func (r *StartCompareResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartCompareResponse) ToJsonString ¶
func (r *StartCompareResponse) ToJsonString() string
type StartCompareResponseParams ¶
type StartCompareResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type StartMigrateJobRequest ¶
type StartMigrateJobRequest struct { *tchttp.BaseRequest // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewStartMigrateJobRequest ¶
func NewStartMigrateJobRequest() (request *StartMigrateJobRequest)
func (*StartMigrateJobRequest) FromJsonString ¶
func (r *StartMigrateJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartMigrateJobRequest) ToJsonString ¶
func (r *StartMigrateJobRequest) ToJsonString() string
type StartMigrateJobRequestParams ¶
type StartMigrateJobRequestParams struct { // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type StartMigrateJobResponse ¶
type StartMigrateJobResponse struct { *tchttp.BaseResponse Response *StartMigrateJobResponseParams `json:"Response"` }
func NewStartMigrateJobResponse ¶
func NewStartMigrateJobResponse() (response *StartMigrateJobResponse)
func (*StartMigrateJobResponse) FromJsonString ¶
func (r *StartMigrateJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartMigrateJobResponse) ToJsonString ¶
func (r *StartMigrateJobResponse) ToJsonString() string
type StartMigrateJobResponseParams ¶
type StartMigrateJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type StartModifySyncJobRequest ¶
type StartModifySyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewStartModifySyncJobRequest ¶
func NewStartModifySyncJobRequest() (request *StartModifySyncJobRequest)
func (*StartModifySyncJobRequest) FromJsonString ¶
func (r *StartModifySyncJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartModifySyncJobRequest) ToJsonString ¶
func (r *StartModifySyncJobRequest) ToJsonString() string
type StartModifySyncJobRequestParams ¶
type StartModifySyncJobRequestParams struct { // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type StartModifySyncJobResponse ¶
type StartModifySyncJobResponse struct { *tchttp.BaseResponse Response *StartModifySyncJobResponseParams `json:"Response"` }
func NewStartModifySyncJobResponse ¶
func NewStartModifySyncJobResponse() (response *StartModifySyncJobResponse)
func (*StartModifySyncJobResponse) FromJsonString ¶
func (r *StartModifySyncJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartModifySyncJobResponse) ToJsonString ¶
func (r *StartModifySyncJobResponse) ToJsonString() string
type StartModifySyncJobResponseParams ¶
type StartModifySyncJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type StartSubscribeRequest ¶
type StartSubscribeRequest struct { *tchttp.BaseRequest // Data subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` }
func NewStartSubscribeRequest ¶
func NewStartSubscribeRequest() (request *StartSubscribeRequest)
func (*StartSubscribeRequest) FromJsonString ¶
func (r *StartSubscribeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartSubscribeRequest) ToJsonString ¶
func (r *StartSubscribeRequest) ToJsonString() string
type StartSubscribeRequestParams ¶
type StartSubscribeRequestParams struct { // Data subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` }
Predefined struct for user
type StartSubscribeResponse ¶
type StartSubscribeResponse struct { *tchttp.BaseResponse Response *StartSubscribeResponseParams `json:"Response"` }
func NewStartSubscribeResponse ¶
func NewStartSubscribeResponse() (response *StartSubscribeResponse)
func (*StartSubscribeResponse) FromJsonString ¶
func (r *StartSubscribeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartSubscribeResponse) ToJsonString ¶
func (r *StartSubscribeResponse) ToJsonString() string
type StartSubscribeResponseParams ¶
type StartSubscribeResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type StartSyncJobRequest ¶
type StartSyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewStartSyncJobRequest ¶
func NewStartSyncJobRequest() (request *StartSyncJobRequest)
func (*StartSyncJobRequest) FromJsonString ¶
func (r *StartSyncJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartSyncJobRequest) ToJsonString ¶
func (r *StartSyncJobRequest) ToJsonString() string
type StartSyncJobRequestParams ¶
type StartSyncJobRequestParams struct { // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type StartSyncJobResponse ¶
type StartSyncJobResponse struct { *tchttp.BaseResponse Response *StartSyncJobResponseParams `json:"Response"` }
func NewStartSyncJobResponse ¶
func NewStartSyncJobResponse() (response *StartSyncJobResponse)
func (*StartSyncJobResponse) FromJsonString ¶
func (r *StartSyncJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartSyncJobResponse) ToJsonString ¶
func (r *StartSyncJobResponse) ToJsonString() string
type StartSyncJobResponseParams ¶
type StartSyncJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type StepDetailInfo ¶
type StepDetailInfo struct { // Step number // Note: This field may return null, indicating that no valid values can be obtained. StepNo *uint64 `json:"StepNo,omitnil,omitempty" name:"StepNo"` // Step name // Note: This field may return null, indicating that no valid values can be obtained. StepName *string `json:"StepName,omitnil,omitempty" name:"StepName"` // Step ID // Note: This field may return null, indicating that no valid values can be obtained. StepId *string `json:"StepId,omitnil,omitempty" name:"StepId"` // Step status. Valid values: `success`, `failed`, `running`, `notStarted`. Default value: `notStarted`. // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Start time of the current step in the format of "yyyy-mm-dd hh:mm:ss". If this field does not exist or is empty, it is meaningless. // Note: This field may return null, indicating that no valid values can be obtained. StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Step error message // Note: This field may return null, indicating that no valid values can be obtained. StepMessage *string `json:"StepMessage,omitnil,omitempty" name:"StepMessage"` // Execution progress // Note: This field may return null, indicating that no valid values can be obtained. Percent *uint64 `json:"Percent,omitnil,omitempty" name:"Percent"` // Error message // Note: This field may return null, indicating that no valid values can be obtained. Errors []*ProcessStepTip `json:"Errors,omitnil,omitempty" name:"Errors"` // Warning // Note: This field may return null, indicating that no valid values can be obtained. Warnings []*ProcessStepTip `json:"Warnings,omitnil,omitempty" name:"Warnings"` }
type StepInfo ¶
type StepInfo struct { // Step number // Note: This field may return null, indicating that no valid values can be obtained. StepNo *uint64 `json:"StepNo,omitnil,omitempty" name:"StepNo"` // Step name // Note: This field may return null, indicating that no valid values can be obtained. StepName *string `json:"StepName,omitnil,omitempty" name:"StepName"` // Step ID // Note: This field may return null, indicating that no valid values can be obtained. StepId *string `json:"StepId,omitnil,omitempty" name:"StepId"` // Status of the current step. Valid values: `notStarted`, `running`, `failed`, `finished, `skipped`, `paused`. // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Step start time, which may be null. // Note: This field may return null, indicating that no valid values can be obtained. StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Error message // Note: This field may return null, indicating that no valid values can be obtained. Errors []*StepTip `json:"Errors,omitnil,omitempty" name:"Errors"` // Warning message // Note: This field may return null, indicating that no valid values can be obtained. Warnings []*StepTip `json:"Warnings,omitnil,omitempty" name:"Warnings"` // Current step progress. Value range: 0-100. The value `-1` indicates that the progress of the current step is unavailable. Note: This field may return null, indicating that no valid values can be obtained. Progress *int64 `json:"Progress,omitnil,omitempty" name:"Progress"` }
type StepTip ¶
type StepTip struct { // Error code // Note: This field may return null, indicating that no valid values can be obtained. Code *string `json:"Code,omitnil,omitempty" name:"Code"` // Error message // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Solution // Note: This field may return null, indicating that no valid values can be obtained. Solution *string `json:"Solution,omitnil,omitempty" name:"Solution"` // Help document // Note: This field may return null, indicating that no valid values can be obtained. HelpDoc *string `json:"HelpDoc,omitnil,omitempty" name:"HelpDoc"` // Whether the current step is skipped // Note: This field may return null, indicating that no valid values can be obtained. SkipInfo *string `json:"SkipInfo,omitnil,omitempty" name:"SkipInfo"` }
type StopCompareRequest ¶
type StopCompareRequest struct { *tchttp.BaseRequest // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` }
func NewStopCompareRequest ¶
func NewStopCompareRequest() (request *StopCompareRequest)
func (*StopCompareRequest) FromJsonString ¶
func (r *StopCompareRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopCompareRequest) ToJsonString ¶
func (r *StopCompareRequest) ToJsonString() string
type StopCompareRequestParams ¶
type StopCompareRequestParams struct { // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` }
Predefined struct for user
type StopCompareResponse ¶
type StopCompareResponse struct { *tchttp.BaseResponse Response *StopCompareResponseParams `json:"Response"` }
func NewStopCompareResponse ¶
func NewStopCompareResponse() (response *StopCompareResponse)
func (*StopCompareResponse) FromJsonString ¶
func (r *StopCompareResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopCompareResponse) ToJsonString ¶
func (r *StopCompareResponse) ToJsonString() string
type StopCompareResponseParams ¶
type StopCompareResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type StopMigrateJobRequest ¶
type StopMigrateJobRequest struct { *tchttp.BaseRequest // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewStopMigrateJobRequest ¶
func NewStopMigrateJobRequest() (request *StopMigrateJobRequest)
func (*StopMigrateJobRequest) FromJsonString ¶
func (r *StopMigrateJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopMigrateJobRequest) ToJsonString ¶
func (r *StopMigrateJobRequest) ToJsonString() string
type StopMigrateJobRequestParams ¶
type StopMigrateJobRequestParams struct { // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type StopMigrateJobResponse ¶
type StopMigrateJobResponse struct { *tchttp.BaseResponse Response *StopMigrateJobResponseParams `json:"Response"` }
func NewStopMigrateJobResponse ¶
func NewStopMigrateJobResponse() (response *StopMigrateJobResponse)
func (*StopMigrateJobResponse) FromJsonString ¶
func (r *StopMigrateJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopMigrateJobResponse) ToJsonString ¶
func (r *StopMigrateJobResponse) ToJsonString() string
type StopMigrateJobResponseParams ¶
type StopMigrateJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type StopSyncJobRequest ¶
type StopSyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewStopSyncJobRequest ¶
func NewStopSyncJobRequest() (request *StopSyncJobRequest)
func (*StopSyncJobRequest) FromJsonString ¶
func (r *StopSyncJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopSyncJobRequest) ToJsonString ¶
func (r *StopSyncJobRequest) ToJsonString() string
type StopSyncJobRequestParams ¶
type StopSyncJobRequestParams struct { // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type StopSyncJobResponse ¶
type StopSyncJobResponse struct { *tchttp.BaseResponse Response *StopSyncJobResponseParams `json:"Response"` }
func NewStopSyncJobResponse ¶
func NewStopSyncJobResponse() (response *StopSyncJobResponse)
func (*StopSyncJobResponse) FromJsonString ¶
func (r *StopSyncJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopSyncJobResponse) ToJsonString ¶
func (r *StopSyncJobResponse) ToJsonString() string
type StopSyncJobResponseParams ¶
type StopSyncJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SubsErr ¶
type SubsErr struct { // Error message Message *string `json:"Message,omitnil,omitempty" name:"Message"` }
type SubscribeCheckStepInfo ¶
type SubscribeCheckStepInfo struct { // Step name // Note: This field may return null, indicating that no valid values can be obtained. StepName *string `json:"StepName,omitnil,omitempty" name:"StepName"` // Step Id // Note: This field may return null, indicating that no valid values can be obtained. StepId *string `json:"StepId,omitnil,omitempty" name:"StepId"` // Step number, starting from 1 // Note: This field may return null, indicating that no valid values can be obtained. StepNo *uint64 `json:"StepNo,omitnil,omitempty" name:"StepNo"` // Current step status. Valid values: notStarted, running, finished, failed.Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Current step progressNote: This field may return null, indicating that no valid values can be obtained. Percent *uint64 `json:"Percent,omitnil,omitempty" name:"Percent"` // Error messageNote: This field may return null, indicating that no valid values can be obtained. Errors []*SubscribeCheckStepTip `json:"Errors,omitnil,omitempty" name:"Errors"` // Warning messageNote: This field may return null, indicating that no valid values can be obtained. Warnings []*SubscribeCheckStepTip `json:"Warnings,omitnil,omitempty" name:"Warnings"` }
type SubscribeCheckStepTip ¶
type SubscribeCheckStepTip struct { // Error or warning detailsNote: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Help documentation // Note: This field may return null, indicating that no valid values can be obtained. HelpDoc *string `json:"HelpDoc,omitnil,omitempty" name:"HelpDoc"` }
type SubscribeInfo ¶
type SubscribeInfo struct { // Data subscription instance ID SubscribeId *string `json:"SubscribeId,omitnil,omitempty" name:"SubscribeId"` // Data subscription instance name SubscribeName *string `json:"SubscribeName,omitnil,omitempty" name:"SubscribeName"` // Kafka topic for data sent by the subscription instance // Note: This field may return null, indicating that no valid values can be obtained. Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"` // Subscription instance type. Currently, cynosdbmysql, mariadb, mongodb, mysql, percona, tdpg, tdsqlpercona are supported. Product *string `json:"Product,omitnil,omitempty" name:"Product"` // The subscribed database instance ID (if the subscription is a cloud database). If the instance is not on Tencent Cloud, this value is empty.Note: This field may return null, indicating that no valid values can be obtained. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Cloud database status: running, isolated, offline. If it is not on the cloud, this value is empty.Note: This field may return null, indicating that no valid values can be obtained. InstanceStatus *string `json:"InstanceStatus,omitnil,omitempty" name:"InstanceStatus"` // Data subscription lifecycle status. Valid values: normal (normal), isolating (isolating), isolated (isolated), offlining (offlining), post2PrePayIng (changing from pay-as-you-go to monthly subscription). Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Data subscription status. Valid values: notStarted, checking, checkNotPass, checkPass, starting, running, error. SubsStatus *string `json:"SubsStatus,omitnil,omitempty" name:"SubsStatus"` // Last modification time, the format is: Y-m-d h:m:s.Note: This field may return null, indicating that no valid values can be obtained. ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"` // Creation time, the format is: Y-m-d h:m:s.Note: This field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Isolation time, the format is: Y-m-d h:m:s. Default time: 0000-00-00 00:00:00.Note: This field may return null, indicating that no valid values can be obtained. IsolateTime *string `json:"IsolateTime,omitnil,omitempty" name:"IsolateTime"` // Expiration time for monthly subscription tasks, the format is: Y-m-d h:m:s. Default time: 0000-00-00 00:00:00.Note: This field may return null, indicating that no valid values can be obtained. ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` // Offline time, the format is: Y-m-d h:m:s. Default time: 0000-00-00 00:00:00.Note: This field may return null, indicating that no valid values can be obtained. OfflineTime *string `json:"OfflineTime,omitnil,omitempty" name:"OfflineTime"` // Billing mode. 1: pay-as-you-go PayType *int64 `json:"PayType,omitnil,omitempty" name:"PayType"` // Auto-renewal flag. It is meaningful only when PayType=0. Valid values: 0 (auto-renewal disabled); 1 (auto-renewal enabled). AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // Data subscription instance region Region *string `json:"Region,omitnil,omitempty" name:"Region"` // Access type. Valid values: extranet (public network); vpncloud (VPN access); dcg (Direct Connect); ccn (CCN); cdb (database); cvm (self-build on CVM); intranet (intranet); vpc (VPC).Note: This field may return null, indicating that no valid values can be obtained. AccessType *string `json:"AccessType,omitnil,omitempty" name:"AccessType"` // Database node information // Note: This field may return null, indicating that no valid values can be obtained. Endpoints []*EndpointItem `json:"Endpoints,omitnil,omitempty" name:"Endpoints"` // Data subscription version, only Kafka version is currently supported.Note: This field may return null, indicating that no valid values can be obtained. SubscribeVersion *string `json:"SubscribeVersion,omitnil,omitempty" name:"SubscribeVersion"` // TagNote: This field may return null, indicating that no valid values can be obtained. Tags []*TagItem `json:"Tags,omitnil,omitempty" name:"Tags"` // Task error messageNote: This field may return null, indicating that no valid values can be obtained. Errors []*SubsErr `json:"Errors,omitnil,omitempty" name:"Errors"` }
type SubscribeKafkaConfig ¶
type SubscribeKafkaConfig struct { // Number of Kafka partitions. Valid values: 1, 4, 8.Note: This field may return null, indicating that no valid values can be obtained. NumberOfPartitions *uint64 `json:"NumberOfPartitions,omitnil,omitempty" name:"NumberOfPartitions"` // Partition rules. This field is required when NumberOfPartitions > 1.Note: This field may return null, indicating that no valid values can be obtained. DistributeRules []*DistributeRule `json:"DistributeRules,omitnil,omitempty" name:"DistributeRules"` // Default partitioning policy. If NumberOfPartitions > 1, this field is required. Data that does not meet the regex in DistributeRules will be partitioned according to the default partitioning policy.Valid values for non-mongo products: table (partitioned by table name); pk (partitioned by table name + primary key). Valid values for mongo: collection (partitioned by collection name). This field is used in conjunction with DistributeRules. If this field is configured, it is considered as configuring a DistributeRules. // Note: This field may return null, indicating that no valid values can be obtained. DefaultRuleType *string `json:"DefaultRuleType,omitnil,omitempty" name:"DefaultRuleType"` }
type SubscribeObject ¶
type SubscribeObject struct { // Subscription data type. Valid values: database; table (if DatabaseType is mongodb, it means a collection).Note: This field may return null, indicating that no valid values can be obtained. ObjectType *string `json:"ObjectType,omitnil,omitempty" name:"ObjectType"` // Subscribed database name // Note: This field may return null, indicating that no valid values can be obtained. Database *string `json:"Database,omitnil,omitempty" name:"Database"` // Name of the table in the subscribed database. If DatabaseType is mongodb, fill in the collection name. MongoDB only supports subscribing to a single database or a single collection.Note: This field may return null, indicating that no valid values can be obtained. Tables []*string `json:"Tables,omitnil,omitempty" name:"Tables"` }
type SyncDBEndpointInfos ¶
type SyncDBEndpointInfos struct { // Region of the database // Note: This field may return null, indicating that no valid values can be obtained. Region *string `json:"Region,omitnil,omitempty" name:"Region"` // Instance network access type. Valid values: `extranet` (public network); `ipv6` (public IPv6); `cvm` (self-build on CVM); `dcg` (Direct Connect); `vpncloud` (VPN access); `cdb` (database); `ccn` (CCN); `intranet` (intranet); `vpc` (VPC). Note that the valid values are subject to the current link. // Note: This field may return null, indicating that no valid values can be obtained. AccessType *string `json:"AccessType,omitnil,omitempty" name:"AccessType"` // Database type, such as `mysql`, `redis`, `mongodb`, `postgresql`, `mariadb`, and `percona`. // Note: This field may return null, indicating that no valid values can be obtained. DatabaseType *string `json:"DatabaseType,omitnil,omitempty" name:"DatabaseType"` // Database information. Note: If the data type is tdsqlmysql, the order of this Endpoint array should correspond to the set order, and the first shard (shardkey range starting from 0) must be entered first.Note: This field may return null, indicating that no valid values can be obtained. Info []*Endpoint `json:"Info,omitnil,omitempty" name:"Info"` }
type SyncDetailInfo ¶
type SyncDetailInfo struct { // Total number of steps // Note: This field may return null, indicating that no valid values can be obtained. StepAll *uint64 `json:"StepAll,omitnil,omitempty" name:"StepAll"` // Current step // Note: This field may return null, indicating that no valid values can be obtained. StepNow *uint64 `json:"StepNow,omitnil,omitempty" name:"StepNow"` // Overall progress // Note: This field may return null, indicating that no valid values can be obtained. Progress *int64 `json:"Progress,omitnil,omitempty" name:"Progress"` // Progress of the current step. Value range: 0-100. The value of `-1` indicates that you can't check the progress of the current step. // Note: This field may return null, indicating that no valid values can be obtained. CurrentStepProgress *int64 `json:"CurrentStepProgress,omitnil,omitempty" name:"CurrentStepProgress"` // Data volume difference between the sync source and target // Note: This field may return null, indicating that no valid values can be obtained. MasterSlaveDistance *int64 `json:"MasterSlaveDistance,omitnil,omitempty" name:"MasterSlaveDistance"` // Time difference between the sync source and target // Note: This field may return null, indicating that no valid values can be obtained. SecondsBehindMaster *int64 `json:"SecondsBehindMaster,omitnil,omitempty" name:"SecondsBehindMaster"` // Overall description // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Step details // Note: This field may return null, indicating that no valid values can be obtained. StepInfos []*StepInfo `json:"StepInfos,omitnil,omitempty" name:"StepInfos"` // Cause of the failure of initiating data consistency check // Note: This field may return null, indicating that no valid values can be obtained. CauseOfCompareDisable *string `json:"CauseOfCompareDisable,omitnil,omitempty" name:"CauseOfCompareDisable"` // Task error and the corresponding solution // Note: This field may return null, indicating that no valid values can be obtained. ErrInfo *ErrInfo `json:"ErrInfo,omitnil,omitempty" name:"ErrInfo"` }
type SyncJobInfo ¶
type SyncJobInfo struct { // Sync task ID, such as `sync-btso140`. // Note: This field may return null, indicating that no valid values can be obtained. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Sync task name // Note: This field may return null, indicating that no valid values can be obtained. JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // Billing mode. Valid values: `PostPay` (pay-as-you-go); `PrePay` (monthly subscription). // Note: This field may return null, indicating that no valid values can be obtained. PayMode *string `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Running mode. Valid values: `Immediate`, `Timed`. Default value: `Immediate`. // Note: This field may return null, indicating that no valid values can be obtained. RunMode *string `json:"RunMode,omitnil,omitempty" name:"RunMode"` // Expected execution time in the format of `yyyy-mm-dd hh:mm:ss` // Note: This field may return null, indicating that no valid values can be obtained. ExpectRunTime *string `json:"ExpectRunTime,omitnil,omitempty" name:"ExpectRunTime"` // All supported operations // Note: This field may return null, indicating that no valid values can be obtained. AllActions []*string `json:"AllActions,omitnil,omitempty" name:"AllActions"` // Operations that can be performed under the current status // Note: This field may return null, indicating that no valid values can be obtained. Actions []*string `json:"Actions,omitnil,omitempty" name:"Actions"` // Sync options // Note: This field may return null, indicating that no valid values can be obtained. Options *Options `json:"Options,omitnil,omitempty" name:"Options"` // Sync database/table objects // Note: This field may return null, indicating that no valid values can be obtained. Objects *Objects `json:"Objects,omitnil,omitempty" name:"Objects"` // Task specification // Note: This field may return null, indicating that no valid values can be obtained. Specification *string `json:"Specification,omitnil,omitempty" name:"Specification"` // Expiration time in the format of `yyyy-mm-dd hh:mm:ss` // Note: This field may return null, indicating that no valid values can be obtained. ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` // Source database region, such as `ap-guangzhou`. // Note: This field may return null, indicating that no valid values can be obtained. SrcRegion *string `json:"SrcRegion,omitnil,omitempty" name:"SrcRegion"` // Source database type, such as `mysql`, `cynosdbmysql`, `tdapg`, `tdpg`, and `tdsqlmysql`. // Note: This field may return null, indicating that no valid values can be obtained. SrcDatabaseType *string `json:"SrcDatabaseType,omitnil,omitempty" name:"SrcDatabaseType"` // Source database access type. Valid values: `cdb` (database); `cvm` (self-build on CVM); `vpc` (VPC); `extranet` (public network); `vpncloud` (VPN access); `dcg` (Direct Connect); `ccn` (CCN); `intranet` (intranet). // Note: This field may return null, indicating that no valid values can be obtained. SrcAccessType *string `json:"SrcAccessType,omitnil,omitempty" name:"SrcAccessType"` // Source database information. This parameter is used by single-node databases. // Note: This field may return null, indicating that no valid values can be obtained. SrcInfo *Endpoint `json:"SrcInfo,omitnil,omitempty" name:"SrcInfo"` // Valid values: `cluster`, `single`. `single`: For single-node source databases; `cluster`: For multi-node source databases. // Note: This field may return null, indicating that no valid values can be obtained. SrcNodeType *string `json:"SrcNodeType,omitnil,omitempty" name:"SrcNodeType"` // Source database information. This parameter is used for multi-node databases. // Note: This field may return null, indicating that no valid values can be obtained. SrcInfos *SyncDBEndpointInfos `json:"SrcInfos,omitnil,omitempty" name:"SrcInfos"` // Target database region, such as `ap-guangzhou`. // Note: This field may return null, indicating that no valid values can be obtained. DstRegion *string `json:"DstRegion,omitnil,omitempty" name:"DstRegion"` // Target database type, such as `mysql`, `cynosdbmysql`, `tdapg`, `tdpg`, and `tdsqlmysql`. // Note: This field may return null, indicating that no valid values can be obtained. DstDatabaseType *string `json:"DstDatabaseType,omitnil,omitempty" name:"DstDatabaseType"` // Target database access type. Valid values: `cdb` (database); `cvm` (self-build on CVM); `vpc` (VPC); `extranet` (public network); `vpncloud` (VPN access); `dcg` (Direct Connect); `ccn` (CCN); `intranet` (intranet). // Note: This field may return null, indicating that no valid values can be obtained. DstAccessType *string `json:"DstAccessType,omitnil,omitempty" name:"DstAccessType"` // Target database information. This parameter is used by single-node databases. // Note: This field may return null, indicating that no valid values can be obtained. DstInfo *Endpoint `json:"DstInfo,omitnil,omitempty" name:"DstInfo"` // Valid values: `cluster`, `single`. `single`: For single-node target databases; `cluster`: For multi-node target databases. // Note: This field may return null, indicating that no valid values can be obtained. DstNodeType *string `json:"DstNodeType,omitnil,omitempty" name:"DstNodeType"` // Target database information. This parameter is used for multi-node databases. // Note: This field may return null, indicating that no valid values can be obtained. DstInfos *SyncDBEndpointInfos `json:"DstInfos,omitnil,omitempty" name:"DstInfos"` // Creation time in the format of `yyyy-mm-dd hh:mm:ss` // Note: This field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Start time in the format of `yyyy-mm-dd hh:mm:ss` // Note: This field may return null, indicating that no valid values can be obtained. StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Task status. Valid values: `UnInitialized`, `Initialized`, `Checking`, `CheckPass`, `CheckNotPass`, `ReadyRunning`, `Running`, `Pausing`, `Paused`, `Stopping`, `Stopped`, `ResumableErr`, `Resuming`, `Failed`, `Released`, `Resetting`, `Unknown`. // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // End time in the format of `yyyy-mm-dd hh:mm:ss` // Note: This field may return null, indicating that no valid values can be obtained. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Tag information // Note: This field may return null, indicating that no valid values can be obtained. Tags []*TagItem `json:"Tags,omitnil,omitempty" name:"Tags"` // Step information of the sync task // Note: This field may return null, indicating that no valid values can be obtained. Detail *SyncDetailInfo `json:"Detail,omitnil,omitempty" name:"Detail"` // Billing status. Valid values: `Normal`, `Resizing`, `Renewing`, `Isolating`, `Isolated`, `Offlining`, `Offlined`, `NotBilled`, `Recovering`, `PostPay2Prepaying`, `PrePay2Postpaying`. // Note: This field may return null, indicating that no valid values can be obtained. TradeStatus *string `json:"TradeStatus,omitnil,omitempty" name:"TradeStatus"` // Sync link specification, such as `micro`, `small`, `medium`, and `large`. // Note: This field may return null, indicating that no valid values can be obtained. InstanceClass *string `json:"InstanceClass,omitnil,omitempty" name:"InstanceClass"` // Auto-renewal flag, which takes effect if `PayMode` is `PrePay`. Valid values: `1` (auto-renewal enabled); `0` (auto-renewal disabled). // Note: This field may return null, indicating that no valid values can be obtained. AutoRenew *uint64 `json:"AutoRenew,omitnil,omitempty" name:"AutoRenew"` // Deletion time in the format of `yyyy-mm-dd hh:mm:ss` // Note: This field may return null, indicating that no valid values can be obtained. OfflineTime *string `json:"OfflineTime,omitnil,omitempty" name:"OfflineTime"` // Settings of automatic retry time // Note: This field may return null, indicating that no valid values can be obtained. AutoRetryTimeRangeMinutes *int64 `json:"AutoRetryTimeRangeMinutes,omitnil,omitempty" name:"AutoRetryTimeRangeMinutes"` // Whether the task can be reentered in the full export stage. Valid values: `yes`, `no`. `yes`: The current task can be reentered. `no`: The current task is in the full export stage which cannot be reentered. If the value of this parameter is `no`, the checkpoint restart is not supported when the task is restarted in the export stage. // Note: This field may return null, indicating that no valid values can be obtained. DumperResumeCtrl *string `json:"DumperResumeCtrl,omitnil,omitempty" name:"DumperResumeCtrl"` }
type Table ¶
type Table struct { // Table name // Note: This field may return null, indicating that no valid values can be obtained. TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"` // New table name // Note: This field may return null, indicating that no valid values can be obtained. NewTableName *string `json:"NewTableName,omitnil,omitempty" name:"NewTableName"` // Filter condition // Note: This field may return null, indicating that no valid values can be obtained. FilterCondition *string `json:"FilterCondition,omitnil,omitempty" name:"FilterCondition"` // Whether to synchronize all columns in the table. All: all columns under the current table; Partial (the corresponding field ColumnMode in ModifySyncJobConfig interface does not support Partial at the moment): some columns under the current table, detailed table information is provided by filling the Columns field.Note: This field may return null, indicating that no valid values can be obtained. ColumnMode *string `json:"ColumnMode,omitnil,omitempty" name:"ColumnMode"` // Column information in data sync. This field is required when ColumnMode is set to Partial.Note: This field may return null, indicating that no valid values can be obtained. Columns []*Column `json:"Columns,omitnil,omitempty" name:"Columns"` // The temp tables to be synced. This parameter is mutually exclusive with `NewTableName`. It is valid only when the configured sync objects are table-level ones and `TableEditMode` is `pt`. To sync temp tables generated when pt-osc or other tools are used during the sync process, you must configure this parameter first. For example, if you want to perform the pt-osc operation on a table named "t1", configure this parameter as ["\_t1\_new","\_t1\_old"]; to perform the gh-ost operation on t1, configure it as ["\_t1\_ghc","\_t1\_gho","\_t1\_del"]. Temp tables generated by pt-osc and gh-ost operations can be configured at the same time. // Note: This field may return null, indicating that no valid values can be obtained. TmpTables []*string `json:"TmpTables,omitnil,omitempty" name:"TmpTables"` // Table editing type. Valid values: `rename` (table mapping); `pt` (additional table sync). // Note: This field may return null, indicating that no valid values can be obtained. TableEditMode *string `json:"TableEditMode,omitnil,omitempty" name:"TableEditMode"` }
type TableItem ¶
type TableItem struct { // Name of the migrated table, which is case-sensitive // Note: This field may return null, indicating that no valid values can be obtained. TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"` // New name of the migrated table. This parameter is required when `TableEditMode` is `rename`. It is mutually exclusive with `TmpTables`. // Note: This field may return null, indicating that no valid values can be obtained. NewTableName *string `json:"NewTableName,omitnil,omitempty" name:"NewTableName"` // The temp tables to be migrated. This parameter is mutually exclusive with `NewTableName`. It is valid only when the configured migration objects are table-level ones and `TableEditMode` is `pt`. To migrate temp tables generated when pt-osc or other tools are used during the migration process, you must configure this parameter first. For example, if you want to perform the pt-osc operation on a table named "t1", configure this parameter as ["_t1_new","_t1_old"]; to perform the gh-ost operation on t1, configure it as ["_t1_ghc","_t1_gho","_t1_del"]. Temp tables generated by pt-osc and gh-ost operations can be configured at the same time. // Note: This field may return null, indicating that no valid values can be obtained. TmpTables []*string `json:"TmpTables,omitnil,omitempty" name:"TmpTables"` // Table editing type. Valid values: `rename` (table mapping); `pt` (additional table sync). // Note: This field may return null, indicating that no valid values can be obtained. TableEditMode *string `json:"TableEditMode,omitnil,omitempty" name:"TableEditMode"` }
type TagItem ¶
type TagItem struct { // Tag key // Note: This field may return null, indicating that no valid values can be obtained. TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"` // Tag value // Note: This field may return null, indicating that no valid values can be obtained. TagValue *string `json:"TagValue,omitnil,omitempty" name:"TagValue"` }
type TopicRule ¶
type TopicRule struct { // Topic name TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // Topic partitioning policy. If the topic sync policy is delivering data to multiple custom topics (`TopicType` = `Multi`), the value of this parameter is `Random` (deliver to a random partition). If the topic sync policy is delivering all data to a single topic (`TopicType` = `Single`), this parameter has three valid values: `AllInPartitionZero` (deliver all data to partition0), `PartitionByTable` (partition by table name), `PartitionByTableAndKey` (partition by table name and primary key). PartitionType *string `json:"PartitionType,omitnil,omitempty" name:"PartitionType"` // Database name matching rule. This parameter takes effect only when `TopicType` is `Multi`. Valid values: `Regular` (match by regex), `Default` (default rule for the remaining databases that cannot be matched by regex). The default rule must be included in the array of matching rules. DbMatchMode *string `json:"DbMatchMode,omitnil,omitempty" name:"DbMatchMode"` // Database name, which can only be matched by regex when `TopicType` is `Multi` and `DbMatchMode` is `Regular`. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Table name matching rule. This parameter takes effect only when `TopicType` is `Multi`. Valid values: `Regular` (match by regex), `Default` (default rule for the remaining databases that cannot be matched by regex). The default rule must be included in the array of matching rules. TableMatchMode *string `json:"TableMatchMode,omitnil,omitempty" name:"TableMatchMode"` // Table name, which can only be matched by regex when `TopicType` is `Multi` and `DbMatchMode` is `Regular`. TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"` }
type TradeInfo ¶
type TradeInfo struct { // Order number // Note: This field may return null, indicating that no valid values can be obtained. DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"` // Last order number // Note: This field may return null, indicating that no valid values can be obtained. LastDealName *string `json:"LastDealName,omitnil,omitempty" name:"LastDealName"` // Instance specification. Valid values: `micro`, `small`, `medium`, `large`, `xlarge`, `2xlarge`. // Note: This field may return null, indicating that no valid values can be obtained. InstanceClass *string `json:"InstanceClass,omitnil,omitempty" name:"InstanceClass"` // Task billing status. Valid values: `normal` (billed or to be billed); `resizing` (adjusting configuration); `reversing` (topping up, which is a short status); `isolating` (isolating, which is a short status); `isolated` (isolated); `offlining` (deleting); `offlined` (deleted); `notBilled` (not billed). // Note: This field may return null, indicating that no valid values can be obtained. TradeStatus *string `json:"TradeStatus,omitnil,omitempty" name:"TradeStatus"` // Expiration time in the format of "yyyy-mm-dd hh:mm:ss" // Note: This field may return null, indicating that no valid values can be obtained. ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` // Deletion time in the format of "yyyy-mm-dd hh:mm:ss" // Note: This field may return null, indicating that no valid values can be obtained. OfflineTime *string `json:"OfflineTime,omitnil,omitempty" name:"OfflineTime"` // Isolation time in the format of "yyyy-mm-dd hh:mm:ss" // Note: This field may return null, indicating that no valid values can be obtained. IsolateTime *string `json:"IsolateTime,omitnil,omitempty" name:"IsolateTime"` // The cause of deletion // Note: This field may return null, indicating that no valid values can be obtained. OfflineReason *string `json:"OfflineReason,omitnil,omitempty" name:"OfflineReason"` // The cause of isolation // Note: This field may return null, indicating that no valid values can be obtained. IsolateReason *string `json:"IsolateReason,omitnil,omitempty" name:"IsolateReason"` // Billing mode. Valid values: `postpay` (postpaid); `prepay` (prepaid). // Note: This field may return null, indicating that no valid values can be obtained. PayType *string `json:"PayType,omitnil,omitempty" name:"PayType"` // Task billing type. Valid values: `billing` (billed); `notBilling` (free); `promotions` (in promotion). // Note: This field may return null, indicating that no valid values can be obtained. BillingType *string `json:"BillingType,omitnil,omitempty" name:"BillingType"` }
type View ¶
type View struct { // View name // Note: This field may return null, indicating that no valid values can be obtained. ViewName *string `json:"ViewName,omitnil,omitempty" name:"ViewName"` // Reserved field. Currently, a view cannot be renamed. Note: This field may return null, indicating that no valid values can be obtained. NewViewName *string `json:"NewViewName,omitnil,omitempty" name:"NewViewName"` }
type ViewItem ¶
type ViewItem struct { // View name // Note: This field may return null, indicating that no valid values can be obtained. ViewName *string `json:"ViewName,omitnil,omitempty" name:"ViewName"` // View name after migration // Note: This field may return null, indicating that no valid values can be obtained. NewViewName *string `json:"NewViewName,omitnil,omitempty" name:"NewViewName"` }