Documentation ¶
Index ¶
- Constants
- type AddRecordBatch
- type BatchRecordInfo
- type Client
- func (c *Client) CreateDomain(request *CreateDomainRequest) (response *CreateDomainResponse, err error)
- func (c *Client) CreateDomainAlias(request *CreateDomainAliasRequest) (response *CreateDomainAliasResponse, err error)
- func (c *Client) CreateDomainAliasWithContext(ctx context.Context, request *CreateDomainAliasRequest) (response *CreateDomainAliasResponse, err error)
- func (c *Client) CreateDomainBatch(request *CreateDomainBatchRequest) (response *CreateDomainBatchResponse, err error)
- func (c *Client) CreateDomainBatchWithContext(ctx context.Context, request *CreateDomainBatchRequest) (response *CreateDomainBatchResponse, err error)
- func (c *Client) CreateDomainGroup(request *CreateDomainGroupRequest) (response *CreateDomainGroupResponse, err error)
- func (c *Client) CreateDomainGroupWithContext(ctx context.Context, request *CreateDomainGroupRequest) (response *CreateDomainGroupResponse, err error)
- func (c *Client) CreateDomainWithContext(ctx context.Context, request *CreateDomainRequest) (response *CreateDomainResponse, err error)
- func (c *Client) CreateRecord(request *CreateRecordRequest) (response *CreateRecordResponse, err error)
- func (c *Client) CreateRecordBatch(request *CreateRecordBatchRequest) (response *CreateRecordBatchResponse, err error)
- func (c *Client) CreateRecordBatchWithContext(ctx context.Context, request *CreateRecordBatchRequest) (response *CreateRecordBatchResponse, err error)
- func (c *Client) CreateRecordGroup(request *CreateRecordGroupRequest) (response *CreateRecordGroupResponse, err error)
- func (c *Client) CreateRecordGroupWithContext(ctx context.Context, request *CreateRecordGroupRequest) (response *CreateRecordGroupResponse, err error)
- func (c *Client) CreateRecordWithContext(ctx context.Context, request *CreateRecordRequest) (response *CreateRecordResponse, err error)
- func (c *Client) DeleteDomain(request *DeleteDomainRequest) (response *DeleteDomainResponse, err error)
- func (c *Client) DeleteDomainAlias(request *DeleteDomainAliasRequest) (response *DeleteDomainAliasResponse, err error)
- func (c *Client) DeleteDomainAliasWithContext(ctx context.Context, request *DeleteDomainAliasRequest) (response *DeleteDomainAliasResponse, err error)
- func (c *Client) DeleteDomainBatch(request *DeleteDomainBatchRequest) (response *DeleteDomainBatchResponse, err error)
- func (c *Client) DeleteDomainBatchWithContext(ctx context.Context, request *DeleteDomainBatchRequest) (response *DeleteDomainBatchResponse, err error)
- func (c *Client) DeleteDomainWithContext(ctx context.Context, request *DeleteDomainRequest) (response *DeleteDomainResponse, err error)
- func (c *Client) DeleteRecord(request *DeleteRecordRequest) (response *DeleteRecordResponse, err error)
- func (c *Client) DeleteRecordGroup(request *DeleteRecordGroupRequest) (response *DeleteRecordGroupResponse, err error)
- func (c *Client) DeleteRecordGroupWithContext(ctx context.Context, request *DeleteRecordGroupRequest) (response *DeleteRecordGroupResponse, err error)
- func (c *Client) DeleteRecordWithContext(ctx context.Context, request *DeleteRecordRequest) (response *DeleteRecordResponse, err error)
- func (c *Client) DeleteShareDomain(request *DeleteShareDomainRequest) (response *DeleteShareDomainResponse, err error)
- func (c *Client) DeleteShareDomainWithContext(ctx context.Context, request *DeleteShareDomainRequest) (response *DeleteShareDomainResponse, err error)
- func (c *Client) DescribeDomain(request *DescribeDomainRequest) (response *DescribeDomainResponse, err error)
- func (c *Client) DescribeDomainAliasList(request *DescribeDomainAliasListRequest) (response *DescribeDomainAliasListResponse, err error)
- func (c *Client) DescribeDomainAliasListWithContext(ctx context.Context, request *DescribeDomainAliasListRequest) (response *DescribeDomainAliasListResponse, err error)
- func (c *Client) DescribeDomainGroupList(request *DescribeDomainGroupListRequest) (response *DescribeDomainGroupListResponse, err error)
- func (c *Client) DescribeDomainGroupListWithContext(ctx context.Context, request *DescribeDomainGroupListRequest) (response *DescribeDomainGroupListResponse, err error)
- func (c *Client) DescribeDomainList(request *DescribeDomainListRequest) (response *DescribeDomainListResponse, err error)
- func (c *Client) DescribeDomainListWithContext(ctx context.Context, request *DescribeDomainListRequest) (response *DescribeDomainListResponse, err error)
- func (c *Client) DescribeDomainLogList(request *DescribeDomainLogListRequest) (response *DescribeDomainLogListResponse, err error)
- func (c *Client) DescribeDomainLogListWithContext(ctx context.Context, request *DescribeDomainLogListRequest) (response *DescribeDomainLogListResponse, err error)
- func (c *Client) DescribeDomainPurview(request *DescribeDomainPurviewRequest) (response *DescribeDomainPurviewResponse, err error)
- func (c *Client) DescribeDomainPurviewWithContext(ctx context.Context, request *DescribeDomainPurviewRequest) (response *DescribeDomainPurviewResponse, err error)
- func (c *Client) DescribeDomainShareInfo(request *DescribeDomainShareInfoRequest) (response *DescribeDomainShareInfoResponse, err error)
- func (c *Client) DescribeDomainShareInfoWithContext(ctx context.Context, request *DescribeDomainShareInfoRequest) (response *DescribeDomainShareInfoResponse, err error)
- func (c *Client) DescribeDomainWithContext(ctx context.Context, request *DescribeDomainRequest) (response *DescribeDomainResponse, err error)
- func (c *Client) DescribeRecord(request *DescribeRecordRequest) (response *DescribeRecordResponse, err error)
- func (c *Client) DescribeRecordGroupList(request *DescribeRecordGroupListRequest) (response *DescribeRecordGroupListResponse, err error)
- func (c *Client) DescribeRecordGroupListWithContext(ctx context.Context, request *DescribeRecordGroupListRequest) (response *DescribeRecordGroupListResponse, err error)
- func (c *Client) DescribeRecordLineList(request *DescribeRecordLineListRequest) (response *DescribeRecordLineListResponse, err error)
- func (c *Client) DescribeRecordLineListWithContext(ctx context.Context, request *DescribeRecordLineListRequest) (response *DescribeRecordLineListResponse, err error)
- func (c *Client) DescribeRecordList(request *DescribeRecordListRequest) (response *DescribeRecordListResponse, err error)
- func (c *Client) DescribeRecordListWithContext(ctx context.Context, request *DescribeRecordListRequest) (response *DescribeRecordListResponse, err error)
- func (c *Client) DescribeRecordType(request *DescribeRecordTypeRequest) (response *DescribeRecordTypeResponse, err error)
- func (c *Client) DescribeRecordTypeWithContext(ctx context.Context, request *DescribeRecordTypeRequest) (response *DescribeRecordTypeResponse, err error)
- func (c *Client) DescribeRecordWithContext(ctx context.Context, request *DescribeRecordRequest) (response *DescribeRecordResponse, err error)
- func (c *Client) DescribeSubdomainAnalytics(request *DescribeSubdomainAnalyticsRequest) (response *DescribeSubdomainAnalyticsResponse, err error)
- func (c *Client) DescribeSubdomainAnalyticsWithContext(ctx context.Context, request *DescribeSubdomainAnalyticsRequest) (response *DescribeSubdomainAnalyticsResponse, err error)
- func (c *Client) ModifyDomainLock(request *ModifyDomainLockRequest) (response *ModifyDomainLockResponse, err error)
- func (c *Client) ModifyDomainLockWithContext(ctx context.Context, request *ModifyDomainLockRequest) (response *ModifyDomainLockResponse, err error)
- func (c *Client) ModifyDomainOwner(request *ModifyDomainOwnerRequest) (response *ModifyDomainOwnerResponse, err error)
- func (c *Client) ModifyDomainOwnerWithContext(ctx context.Context, request *ModifyDomainOwnerRequest) (response *ModifyDomainOwnerResponse, err error)
- func (c *Client) ModifyDomainRemark(request *ModifyDomainRemarkRequest) (response *ModifyDomainRemarkResponse, err error)
- func (c *Client) ModifyDomainRemarkWithContext(ctx context.Context, request *ModifyDomainRemarkRequest) (response *ModifyDomainRemarkResponse, err error)
- func (c *Client) ModifyDomainStatus(request *ModifyDomainStatusRequest) (response *ModifyDomainStatusResponse, err error)
- func (c *Client) ModifyDomainStatusWithContext(ctx context.Context, request *ModifyDomainStatusRequest) (response *ModifyDomainStatusResponse, err error)
- func (c *Client) ModifyDomainUnlock(request *ModifyDomainUnlockRequest) (response *ModifyDomainUnlockResponse, err error)
- func (c *Client) ModifyDomainUnlockWithContext(ctx context.Context, request *ModifyDomainUnlockRequest) (response *ModifyDomainUnlockResponse, err error)
- func (c *Client) ModifyRecord(request *ModifyRecordRequest) (response *ModifyRecordResponse, err error)
- func (c *Client) ModifyRecordBatch(request *ModifyRecordBatchRequest) (response *ModifyRecordBatchResponse, err error)
- func (c *Client) ModifyRecordBatchWithContext(ctx context.Context, request *ModifyRecordBatchRequest) (response *ModifyRecordBatchResponse, err error)
- func (c *Client) ModifyRecordGroup(request *ModifyRecordGroupRequest) (response *ModifyRecordGroupResponse, err error)
- func (c *Client) ModifyRecordGroupWithContext(ctx context.Context, request *ModifyRecordGroupRequest) (response *ModifyRecordGroupResponse, err error)
- func (c *Client) ModifyRecordRemark(request *ModifyRecordRemarkRequest) (response *ModifyRecordRemarkResponse, err error)
- func (c *Client) ModifyRecordRemarkWithContext(ctx context.Context, request *ModifyRecordRemarkRequest) (response *ModifyRecordRemarkResponse, err error)
- func (c *Client) ModifyRecordStatus(request *ModifyRecordStatusRequest) (response *ModifyRecordStatusResponse, err error)
- func (c *Client) ModifyRecordStatusWithContext(ctx context.Context, request *ModifyRecordStatusRequest) (response *ModifyRecordStatusResponse, err error)
- func (c *Client) ModifyRecordToGroup(request *ModifyRecordToGroupRequest) (response *ModifyRecordToGroupResponse, err error)
- func (c *Client) ModifyRecordToGroupWithContext(ctx context.Context, request *ModifyRecordToGroupRequest) (response *ModifyRecordToGroupResponse, err error)
- func (c *Client) ModifyRecordWithContext(ctx context.Context, request *ModifyRecordRequest) (response *ModifyRecordResponse, err error)
- type CreateDomainAliasRequest
- type CreateDomainAliasRequestParams
- type CreateDomainAliasResponse
- type CreateDomainAliasResponseParams
- type CreateDomainBatchDetail
- type CreateDomainBatchRecord
- type CreateDomainBatchRequest
- type CreateDomainBatchRequestParams
- type CreateDomainBatchResponse
- type CreateDomainBatchResponseParams
- type CreateDomainGroupRequest
- type CreateDomainGroupRequestParams
- type CreateDomainGroupResponse
- type CreateDomainGroupResponseParams
- type CreateDomainRequest
- type CreateDomainRequestParams
- type CreateDomainResponse
- type CreateDomainResponseParams
- type CreateRecordBatchDetail
- type CreateRecordBatchRecord
- type CreateRecordBatchRequest
- type CreateRecordBatchRequestParams
- type CreateRecordBatchResponse
- type CreateRecordBatchResponseParams
- type CreateRecordGroupRequest
- type CreateRecordGroupRequestParams
- type CreateRecordGroupResponse
- type CreateRecordGroupResponseParams
- type CreateRecordRequest
- type CreateRecordRequestParams
- type CreateRecordResponse
- type CreateRecordResponseParams
- type DeleteDomainAliasRequest
- type DeleteDomainAliasRequestParams
- type DeleteDomainAliasResponse
- type DeleteDomainAliasResponseParams
- type DeleteDomainBatchDetail
- type DeleteDomainBatchRequest
- type DeleteDomainBatchRequestParams
- type DeleteDomainBatchResponse
- type DeleteDomainBatchResponseParams
- type DeleteDomainRequest
- type DeleteDomainRequestParams
- type DeleteDomainResponse
- type DeleteDomainResponseParams
- type DeleteRecordGroupRequest
- type DeleteRecordGroupRequestParams
- type DeleteRecordGroupResponse
- type DeleteRecordGroupResponseParams
- type DeleteRecordRequest
- type DeleteRecordRequestParams
- type DeleteRecordResponse
- type DeleteRecordResponseParams
- type DeleteShareDomainRequest
- type DeleteShareDomainRequestParams
- type DeleteShareDomainResponse
- type DeleteShareDomainResponseParams
- type DescribeDomainAliasListRequest
- type DescribeDomainAliasListRequestParams
- type DescribeDomainAliasListResponse
- type DescribeDomainAliasListResponseParams
- type DescribeDomainGroupListRequest
- type DescribeDomainGroupListRequestParams
- type DescribeDomainGroupListResponse
- type DescribeDomainGroupListResponseParams
- type DescribeDomainListRequest
- type DescribeDomainListRequestParams
- type DescribeDomainListResponse
- type DescribeDomainListResponseParams
- type DescribeDomainLogListRequest
- type DescribeDomainLogListRequestParams
- type DescribeDomainLogListResponse
- type DescribeDomainLogListResponseParams
- type DescribeDomainPurviewRequest
- type DescribeDomainPurviewRequestParams
- type DescribeDomainPurviewResponse
- type DescribeDomainPurviewResponseParams
- type DescribeDomainRequest
- type DescribeDomainRequestParams
- type DescribeDomainResponse
- type DescribeDomainResponseParams
- type DescribeDomainShareInfoRequest
- type DescribeDomainShareInfoRequestParams
- type DescribeDomainShareInfoResponse
- type DescribeDomainShareInfoResponseParams
- type DescribeRecordGroupListRequest
- type DescribeRecordGroupListRequestParams
- type DescribeRecordGroupListResponse
- type DescribeRecordGroupListResponseParams
- type DescribeRecordLineListRequest
- type DescribeRecordLineListRequestParams
- type DescribeRecordLineListResponse
- type DescribeRecordLineListResponseParams
- type DescribeRecordListRequest
- type DescribeRecordListRequestParams
- type DescribeRecordListResponse
- type DescribeRecordListResponseParams
- type DescribeRecordRequest
- type DescribeRecordRequestParams
- type DescribeRecordResponse
- type DescribeRecordResponseParams
- type DescribeRecordTypeRequest
- type DescribeRecordTypeRequestParams
- type DescribeRecordTypeResponse
- type DescribeRecordTypeResponseParams
- type DescribeSubdomainAnalyticsRequest
- type DescribeSubdomainAnalyticsRequestParams
- type DescribeSubdomainAnalyticsResponse
- type DescribeSubdomainAnalyticsResponseParams
- type DomainAliasInfo
- type DomainAnalyticsDetail
- type DomainCountInfo
- type DomainCreateInfo
- type DomainInfo
- type DomainListItem
- type DomainShareInfo
- type GroupInfo
- type LineGroupInfo
- type LineInfo
- type LockInfo
- type ModifyDomainLockRequest
- type ModifyDomainLockRequestParams
- type ModifyDomainLockResponse
- type ModifyDomainLockResponseParams
- type ModifyDomainOwnerRequest
- type ModifyDomainOwnerRequestParams
- type ModifyDomainOwnerResponse
- type ModifyDomainOwnerResponseParams
- type ModifyDomainRemarkRequest
- type ModifyDomainRemarkRequestParams
- type ModifyDomainRemarkResponse
- type ModifyDomainRemarkResponseParams
- type ModifyDomainStatusRequest
- type ModifyDomainStatusRequestParams
- type ModifyDomainStatusResponse
- type ModifyDomainStatusResponseParams
- type ModifyDomainUnlockRequest
- type ModifyDomainUnlockRequestParams
- type ModifyDomainUnlockResponse
- type ModifyDomainUnlockResponseParams
- type ModifyRecordBatchDetail
- type ModifyRecordBatchRequest
- type ModifyRecordBatchRequestParams
- type ModifyRecordBatchResponse
- type ModifyRecordBatchResponseParams
- type ModifyRecordGroupRequest
- type ModifyRecordGroupRequestParams
- type ModifyRecordGroupResponse
- type ModifyRecordGroupResponseParams
- type ModifyRecordRemarkRequest
- type ModifyRecordRemarkRequestParams
- type ModifyRecordRemarkResponse
- type ModifyRecordRemarkResponseParams
- type ModifyRecordRequest
- type ModifyRecordRequestParams
- type ModifyRecordResponse
- type ModifyRecordResponseParams
- type ModifyRecordStatusRequest
- type ModifyRecordStatusRequestParams
- type ModifyRecordStatusResponse
- type ModifyRecordStatusResponseParams
- type ModifyRecordToGroupRequest
- type ModifyRecordToGroupRequestParams
- type ModifyRecordToGroupResponse
- type ModifyRecordToGroupResponseParams
- type PurviewInfo
- type RecordCountInfo
- type RecordGroupInfo
- type RecordInfo
- type RecordListItem
- type SubdomainAliasAnalyticsItem
- type SubdomainAnalyticsInfo
Constants ¶
const ( // CAM signature/authentication error. AUTHFAILURE = "AuthFailure" // The operation failed. FAILEDOPERATION = "FailedOperation" // The domain is already in your list. There is no need to add it again. FAILEDOPERATION_DOMAINEXISTS = "FailedOperation.DomainExists" // This domain is a key protected resource in DNSPod. To prevent the service from being affected by maloperations, you cannot delete it. If you are sure you need to delete it, please contact your sales rep for technical support. FAILEDOPERATION_DOMAINISKEYDOMAIN = "FailedOperation.DomainIsKeyDomain" // You cannot perform this operation on a locked domain. FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" // You cannot perform this operation on a banned domain. FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" // You cannot perform this operation on a VIP domain. FAILEDOPERATION_DOMAINISVIP = "FailedOperation.DomainIsVip" // Unable to get the DNS query volume because the current domain has not used the DNSPod service. FAILEDOPERATION_DOMAINNOTINSERVICE = "FailedOperation.DomainNotInService" // This domain has been added by another account and can be reclaimed in the domain list. FAILEDOPERATION_DOMAINOWNEDBYOTHERUSER = "FailedOperation.DomainOwnedByOtherUser" // The request was rejected due to an unusual login location of your account. FAILEDOPERATION_LOGINAREANOTALLOWED = "FailedOperation.LoginAreaNotAllowed" // Login failed. Check whether the account and password are correct. FAILEDOPERATION_LOGINFAILED = "FailedOperation.LoginFailed" // You are not the domain owner. FAILEDOPERATION_NOTDOMAINOWNER = "FailedOperation.NotDomainOwner" // Your account identity has not been verified. Complete identity verification first before performing this operation. FAILEDOPERATION_NOTREALNAMEDUSER = "FailedOperation.NotRealNamedUser" // The number of requests is currently unavailable. Try again later. FAILEDOPERATION_TEMPORARYERROR = "FailedOperation.TemporaryError" // Failed to transfer to the enterprise account. FAILEDOPERATION_TRANSFERTOENTERPRISEDENIED = "FailedOperation.TransferToEnterpriseDenied" // Failed to transfer to the personal account. FAILEDOPERATION_TRANSFERTOPERSONDENIED = "FailedOperation.TransferToPersonDenied" // The operation has no response. Try again later. FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" // Internal error. INTERNALERROR = "InternalError" // Invalid parameter. INVALIDPARAMETER = "InvalidParameter" // Your account is banned by the system. Please contact us if you have any questions. INVALIDPARAMETER_ACCOUNTISBANNED = "InvalidParameter.AccountIsBanned" // Failed to bulk create domains. Cause: Internal error. INVALIDPARAMETER_BATCHDOMAINCREATEACTIONERROR = "InvalidParameter.BatchDomainCreateActionError" // Failed to bulk create records. Cause: Internal error. INVALIDPARAMETER_BATCHRECORDCREATEACTIONERROR = "InvalidParameter.BatchRecordCreateActionError" // Failed to bulk modify records. Cause: Internal error. INVALIDPARAMETER_BATCHRECORDMODIFYACTIONERROR = "InvalidParameter.BatchRecordModifyActionError" // The record value is invalid. INVALIDPARAMETER_BATCHRECORDMODIFYACTIONINVALIDVALUE = "InvalidParameter.BatchRecordModifyActionInvalidValue" // Failed to batch delete records. Cause: Internal error. INVALIDPARAMETER_BATCHRECORDREMOVEACTIONERROR = "InvalidParameter.BatchRecordRemoveActionError" // Failed to bulk replace records. Cause: Internal error. INVALIDPARAMETER_BATCHRECORDREPLACEACTIONERROR = "InvalidParameter.BatchRecordReplaceActionError" // The number of tasks exceeds the upper limit. INVALIDPARAMETER_BATCHTASKCOUNTLIMIT = "InvalidParameter.BatchTaskCountLimit" // Custom error message. INVALIDPARAMETER_CUSTOMMESSAGE = "InvalidParameter.CustomMessage" // DNSSEC has been enabled for this domain. You cannot add an @CNAME, URL, or framed URL record. INVALIDPARAMETER_DNSSECADDCNAMEERROR = "InvalidParameter.DnssecAddCnameError" // The alias already exists. INVALIDPARAMETER_DOMAINALIASEXISTS = "InvalidParameter.DomainAliasExists" // Th alias ID is incorrect. INVALIDPARAMETER_DOMAINALIASIDINVALID = "InvalidParameter.DomainAliasIdInvalid" // The domain number is incorrect. INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" // You cannot perform operations on a domain currently active or invalid. INVALIDPARAMETER_DOMAININEFFECTORINVALIDATED = "InvalidParameter.DomainInEffectOrInvalidated" // The domain is incorrect. Enter a top-level domain such as dnspod.cn. INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" // This domain is an alias of another domain. INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" // The domain is not locked. INVALIDPARAMETER_DOMAINISNOTLOCKED = "InvalidParameter.DomainIsNotlocked" // Currently, the domain cannot be locked. INVALIDPARAMETER_DOMAINNOTALLOWEDLOCK = "InvalidParameter.DomainNotAllowedLock" // You cannot change the DNS record of a domain currently active or invalid. INVALIDPARAMETER_DOMAINNOTALLOWEDMODIFYRECORDS = "InvalidParameter.DomainNotAllowedModifyRecords" // The domain does not have an ICP filing, so you cannot add a URL record for it. INVALIDPARAMETER_DOMAINNOTBEIAN = "InvalidParameter.DomainNotBeian" // The domain has not been registered and cannot be added. INVALIDPARAMETER_DOMAINNOTREGED = "InvalidParameter.DomainNotReged" // The record already exists and does not need to be added again. INVALIDPARAMETER_DOMAINRECORDEXIST = "InvalidParameter.DomainRecordExist" // No domains have been submitted. INVALIDPARAMETER_DOMAINSEMPTY = "InvalidParameter.DomainsEmpty" // The email address is incorrect. INVALIDPARAMETER_EMAILINVALID = "InvalidParameter.EmailInvalid" // Sorry, the email address of your account has not been verified. INVALIDPARAMETER_EMAILNOTVERIFIED = "InvalidParameter.EmailNotVerified" // Enter a valid email address or UIN. INVALIDPARAMETER_EMAILORQQINVALID = "InvalidParameter.EmailOrQqInvalid" // The domain is already under the account. INVALIDPARAMETER_EMAILSAME = "InvalidParameter.EmailSame" // The group ID is incorrect. INVALIDPARAMETER_GROUPIDINVALID = "InvalidParameter.GroupIdInvalid" // The group name already exists. INVALIDPARAMETER_GROUPNAMEEXISTS = "InvalidParameter.GroupNameExists" // The group name can contain 1–17 characters. INVALIDPARAMETER_GROUPNAMEINVALID = "InvalidParameter.GroupNameInvalid" // The weight is invalid. Enter an integer between 0 and 100. INVALIDPARAMETER_INVALIDWEIGHT = "InvalidParameter.InvalidWeight" // The number of tasks exceeds the upper limit. INVALIDPARAMETER_JOBGREATERTHANLIMIT = "InvalidParameter.JobGreaterThanLimit" // The locking period is incorrect. INVALIDPARAMETER_LOCKDAYSINVALID = "InvalidParameter.LockDaysInvalid" // The token ID is incorrect. INVALIDPARAMETER_LOGINTOKENIDERROR = "InvalidParameter.LoginTokenIdError" // The token passed in does not exist. INVALIDPARAMETER_LOGINTOKENNOTEXISTS = "InvalidParameter.LoginTokenNotExists" // Failed to verify the token. INVALIDPARAMETER_LOGINTOKENVALIDATEFAILED = "InvalidParameter.LoginTokenValidateFailed" // Sorry, the mobile number of your account has not been verified. INVALIDPARAMETER_MOBILENOTVERIFIED = "InvalidParameter.MobileNotVerified" // The MX priority is incorrect. INVALIDPARAMETER_MXINVALID = "InvalidParameter.MxInvalid" // The pagination offset value is incorrect. INVALIDPARAMETER_OFFSETINVALID = "InvalidParameter.OffsetInvalid" // Operation failed. Please try again later. INVALIDPARAMETER_OPERATEFAILED = "InvalidParameter.OperateFailed" // Your account identity has not been verified. Complete identity verification first before performing this operation. INVALIDPARAMETER_OTHERACCOUNTUNREALNAME = "InvalidParameter.OtherAccountUnrealName" // Parameter format error. INVALIDPARAMETER_PARAMINVALID = "InvalidParameter.ParamInvalid" // The parameter is invalid, so the request was rejected. INVALIDPARAMETER_PARAMSILLEGAL = "InvalidParameter.ParamsIllegal" // The parameter is incorrect. INVALIDPARAMETER_PARAMSMISSING = "InvalidParameter.ParamsMissing" // The user UIN is invalid. INVALIDPARAMETER_QCLOUDUININVALID = "InvalidParameter.QcloudUinInvalid" // The TXT record was not set or has not taken effect. Try again later. INVALIDPARAMETER_QUHUITXTRECORDWAIT = "InvalidParameter.QuhuiTxtRecordWait" // The record number is incorrect. INVALIDPARAMETER_RECORDIDINVALID = "InvalidParameter.RecordIdInvalid" // The record split zone is incorrect. INVALIDPARAMETER_RECORDLINEINVALID = "InvalidParameter.RecordLineInvalid" // The record type is incorrect. INVALIDPARAMETER_RECORDTYPEINVALID = "InvalidParameter.RecordTypeInvalid" // The record value is incorrect. INVALIDPARAMETER_RECORDVALUEINVALID = "InvalidParameter.RecordValueInvalid" // The DNS record value is too long. INVALIDPARAMETER_RECORDVALUELENGTHINVALID = "InvalidParameter.RecordValueLengthInvalid" // No records have been submitted. INVALIDPARAMETER_RECORDSEMPTY = "InvalidParameter.RecordsEmpty" // The length of the remarks exceeds the limit. INVALIDPARAMETER_REMARKLENGTHEXCEEDED = "InvalidParameter.RemarkLengthExceeded" // The remarks are too long (max 200 characters). INVALIDPARAMETER_REMARKTOOLONG = "InvalidParameter.RemarkTooLong" // Your IP is invalid, so the request was rejected. INVALIDPARAMETER_REQUESTIPLIMITED = "InvalidParameter.RequestIpLimited" // The search results contain more than 500 entries. Add one or more keywords. INVALIDPARAMETER_RESULTMORETHAN500 = "InvalidParameter.ResultMoreThan500" // The subdomain is incorrect. INVALIDPARAMETER_SUBDOMAININVALID = "InvalidParameter.SubdomainInvalid" // The current account has too many invalid domains and is unable to use this feature. Point the DNS server of existing domains to DNSPod correctly and try adding them. INVALIDPARAMETER_TOOMANYINVALIDDOMAINS = "InvalidParameter.TooManyInvalidDomains" // The domain is invalid. INVALIDPARAMETER_TOOLSDOMAININVALID = "InvalidParameter.ToolsDomainInvalid" // The unlock code has expired. INVALIDPARAMETER_UNLOCKCODEEXPIRED = "InvalidParameter.UnLockCodeExpired" // The unlock code is incorrect. INVALIDPARAMETER_UNLOCKCODEINVALID = "InvalidParameter.UnLockCodeInvalid" // Your account identity has not been verified. Complete identity verification first before performing this operation. INVALIDPARAMETER_UNREALNAMEUSER = "InvalidParameter.UnrealNameUser" // Sorry, the URL failed to be added/enabled because its content did not comply with the DNSPod Terms of Service. Please contact technical support for assistance. INVALIDPARAMETER_URLVALUEILLEGAL = "InvalidParameter.UrlValueIllegal" // The account is not a Tencent Cloud user. INVALIDPARAMETER_USERAREAINVALID = "InvalidParameter.UserAreaInvalid" // The user does not exist. INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" // The domain level is incorrect. INVALIDPARAMETERVALUE_DOMAINGRADEINVALID = "InvalidParameterValue.DomainGradeInvalid" // The current domain is incorrect. Return to the previous step and try again. INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" // Error in number of entries per page. INVALIDPARAMETERVALUE_LIMITINVALID = "InvalidParameterValue.LimitInvalid" // The user number is incorrect. INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIdInvalid" // The number of AAAA records exceeds the limit. LIMITEXCEEDED_AAAACOUNTLIMIT = "LimitExceeded.AAAACountLimit" // The @NS record can be set to the default split zone only. LIMITEXCEEDED_ATNSRECORDLIMIT = "LimitExceeded.AtNsRecordLimit" // The number of aliases has reached the limit. LIMITEXCEEDED_DOMAINALIASCOUNTEXCEEDED = "LimitExceeded.DomainAliasCountExceeded" // The number of currently bound aliases has reached the limit. LIMITEXCEEDED_DOMAINALIASNUMBERLIMIT = "LimitExceeded.DomainAliasNumberLimit" // Your account has been banned by the system due to excessive failed login attempts. LIMITEXCEEDED_FAILEDLOGINLIMITEXCEEDED = "LimitExceeded.FailedLoginLimitExceeded" // The number of groups has reached the upper limit. LIMITEXCEEDED_GROUPNUMBERLIMIT = "LimitExceeded.GroupNumberLimit" // The DNS plan used by this domain does not support framed URL forwarding, or the number of framed URL forward records exceeds the limit. To use this feature, please purchase more records. LIMITEXCEEDED_HIDDENURLEXCEEDED = "LimitExceeded.HiddenUrlExceeded" // The number of NS records exceeds the limit. LIMITEXCEEDED_NSCOUNTLIMIT = "LimitExceeded.NsCountLimit" // The TTL value of the record exceeds the limit. LIMITEXCEEDED_RECORDTTLLIMIT = "LimitExceeded.RecordTtlLimit" // The number of SRV records exceeds the limit. LIMITEXCEEDED_SRVCOUNTLIMIT = "LimitExceeded.SrvCountLimit" // The number of subdomain levels exceeds the limit. LIMITEXCEEDED_SUBDOMAINLEVELLIMIT = "LimitExceeded.SubdomainLevelLimit" // The number of round-robin DNS records of the subdomain exceeds the limit. LIMITEXCEEDED_SUBDOMAINROLLLIMIT = "LimitExceeded.SubdomainRollLimit" // The number of wildcard levels exceeds the limit. LIMITEXCEEDED_SUBDOMAINWCARDLIMIT = "LimitExceeded.SubdomainWcardLimit" // The number of URL forward records of this domain exceeds the limit. To continue using this feature, please purchase more records. LIMITEXCEEDED_URLCOUNTLIMIT = "LimitExceeded.UrlCountLimit" // The parameter is missing. MISSINGPARAMETER = "MissingParameter" // You have no permission for this operation. OPERATIONDENIED_ACCESSDENIED = "OperationDenied.AccessDenied" // Only the domain owner can perform this operation. OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" // Sorry, you cannot add a blocked IP. OPERATIONDENIED_IPINBLACKLISTNOTALLOWED = "OperationDenied.IPInBlacklistNotAllowed" // You have no permission to perform operations on the current domain. Return to the domain list. OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" // You are not an admin. OPERATIONDENIED_NOTADMIN = "OperationDenied.NotAdmin" // Your are not a proxy user. OPERATIONDENIED_NOTAGENT = "OperationDenied.NotAgent" // The user is not under your account. OPERATIONDENIED_NOTMANAGEDUSER = "OperationDenied.NotManagedUser" // The number of requests exceeds the frequency limit. REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // Too many tasks have been added for your IP. Try again later. REQUESTLIMITEXCEEDED_BATCHTASKLIMIT = "RequestLimitExceeded.BatchTaskLimit" // A great number of domains have been added under your account in a short period of time. Control the frequency of adding domains. REQUESTLIMITEXCEEDED_CREATEDOMAINLIMIT = "RequestLimitExceeded.CreateDomainLimit" // The number of API requests exceeds the limit. REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded" // The resource does not exist. RESOURCENOTFOUND = "ResourceNotFound" // There is no domain alias. RESOURCENOTFOUND_NODATAOFDOMAINALIAS = "ResourceNotFound.NoDataOfDomainAlias" // Empty record list. RESOURCENOTFOUND_NODATAOFRECORD = "ResourceNotFound.NoDataOfRecord" // Unauthorized operation. UNAUTHORIZEDOPERATION = "UnauthorizedOperation" )
const APIVersion = "2021-03-23"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddRecordBatch ¶
type AddRecordBatch struct { // Record type. For more information, see the `DescribeRecordType` API. RecordType *string `json:"RecordType,omitempty" name:"RecordType"` // Record value. Value *string `json:"Value,omitempty" name:"Value"` // Subdomain (host record), which is `@` by default. SubDomain *string `json:"SubDomain,omitempty" name:"SubDomain"` // Split zone of the DNS record. For more information, see the `DescribeRecordLineList` API. If neither `RecordLine` nor `RecordLineId` is specified, the default split zone will be used. RecordLine *string `json:"RecordLine,omitempty" name:"RecordLine"` // Split zone ID of the DNS record. If both `RecordLine` and `RecordLineId` are specified, `RecordLineId` will be used. RecordLineId *string `json:"RecordLineId,omitempty" name:"RecordLineId"` // Record weight (not supported). // Note: This field may return null, indicating that no valid values can be obtained. Weight *uint64 `json:"Weight,omitempty" name:"Weight"` // MX record value. It is `0` by default for non-MX records and required for MX records. MX *uint64 `json:"MX,omitempty" name:"MX"` // TTL value of the record, which is `600` by default. TTL *uint64 `json:"TTL,omitempty" name:"TTL"` // Record status (not supported). Valid values: `0` (disabled); `1` (enabled). Default value: `1`. Enabled *uint64 `json:"Enabled,omitempty" name:"Enabled"` // Record remarks (not supported). Remark *string `json:"Remark,omitempty" name:"Remark"` }
type BatchRecordInfo ¶
type BatchRecordInfo struct { // Record ID // Note: This field may return null, indicating that no valid values can be obtained. RecordId *uint64 `json:"RecordId,omitempty" name:"RecordId"` // Subdomain (host record). // Note: This field may return null, indicating that no valid values can be obtained. SubDomain *string `json:"SubDomain,omitempty" name:"SubDomain"` // Record type. For more information, see the `DescribeRecordType` API. // Note: This field may return null, indicating that no valid values can be obtained. RecordType *string `json:"RecordType,omitempty" name:"RecordType"` // Split zone of the DNS record. For more information, see the `DescribeRecordLineList` API. // Note: This field may return null, indicating that no valid values can be obtained. RecordLine *string `json:"RecordLine,omitempty" name:"RecordLine"` // Record value // Note: This field may return null, indicating that no valid values can be obtained. Value *string `json:"Value,omitempty" name:"Value"` // TTL value of the record // Note: This field may return null, indicating that no valid values can be obtained. TTL *uint64 `json:"TTL,omitempty" name:"TTL"` // Record adding status // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitempty" name:"Status"` // Operation type // Note: This field may return null, indicating that no valid values can be obtained. Operation *string `json:"Operation,omitempty" name:"Operation"` // Error message // Note: This field may return null, indicating that no valid values can be obtained. ErrMsg *string `json:"ErrMsg,omitempty" name:"ErrMsg"` // ID of the record in the list Id *uint64 `json:"Id,omitempty" name:"Id"` // Record status // Note: This field may return null, indicating that no valid values can be obtained. Enabled *uint64 `json:"Enabled,omitempty" name:"Enabled"` // MX weight of the record // Note: This field may return null, indicating that no valid values can be obtained. MX *uint64 `json:"MX,omitempty" name:"MX"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CreateDomain ¶
func (c *Client) CreateDomain(request *CreateDomainRequest) (response *CreateDomainResponse, err error)
CreateDomain This API is used to add a domain.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINEXISTS = "FailedOperation.DomainExists" FAILEDOPERATION_DOMAINOWNEDBYOTHERUSER = "FailedOperation.DomainOwnedByOtherUser" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_ACCOUNTISBANNED = "InvalidParameter.AccountIsBanned" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_DOMAINNOTREGED = "InvalidParameter.DomainNotReged" INVALIDPARAMETER_EMAILNOTVERIFIED = "InvalidParameter.EmailNotVerified" INVALIDPARAMETER_QUHUITXTRECORDWAIT = "InvalidParameter.QuhuiTxtRecordWait" INVALIDPARAMETER_TOOLSDOMAININVALID = "InvalidParameter.ToolsDomainInvalid" INVALIDPARAMETER_UNREALNAMEUSER = "InvalidParameter.UnrealNameUser"
func (*Client) CreateDomainAlias ¶
func (c *Client) CreateDomainAlias(request *CreateDomainAliasRequest) (response *CreateDomainAliasResponse, err error)
CreateDomainAlias This API is used to create a domain alias.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINEXISTS = "FailedOperation.DomainExists" FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" FAILEDOPERATION_DOMAINOWNEDBYOTHERUSER = "FailedOperation.DomainOwnedByOtherUser" FAILEDOPERATION_NOTREALNAMEDUSER = "FailedOperation.NotRealNamedUser" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DOMAINALIASEXISTS = "InvalidParameter.DomainAliasExists" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININEFFECTORINVALIDATED = "InvalidParameter.DomainInEffectOrInvalidated" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" LIMITEXCEEDED_DOMAINALIASCOUNTEXCEEDED = "LimitExceeded.DomainAliasCountExceeded" LIMITEXCEEDED_DOMAINALIASNUMBERLIMIT = "LimitExceeded.DomainAliasNumberLimit" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateDomainAliasWithContext ¶
func (c *Client) CreateDomainAliasWithContext(ctx context.Context, request *CreateDomainAliasRequest) (response *CreateDomainAliasResponse, err error)
CreateDomainAlias This API is used to create a domain alias.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINEXISTS = "FailedOperation.DomainExists" FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" FAILEDOPERATION_DOMAINOWNEDBYOTHERUSER = "FailedOperation.DomainOwnedByOtherUser" FAILEDOPERATION_NOTREALNAMEDUSER = "FailedOperation.NotRealNamedUser" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DOMAINALIASEXISTS = "InvalidParameter.DomainAliasExists" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININEFFECTORINVALIDATED = "InvalidParameter.DomainInEffectOrInvalidated" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" LIMITEXCEEDED_DOMAINALIASCOUNTEXCEEDED = "LimitExceeded.DomainAliasCountExceeded" LIMITEXCEEDED_DOMAINALIASNUMBERLIMIT = "LimitExceeded.DomainAliasNumberLimit" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateDomainBatch ¶
func (c *Client) CreateDomainBatch(request *CreateDomainBatchRequest) (response *CreateDomainBatchResponse, err error)
CreateDomainBatch This API is used to bulk add domains.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" INVALIDPARAMETER_BATCHDOMAINCREATEACTIONERROR = "InvalidParameter.BatchDomainCreateActionError" INVALIDPARAMETER_BATCHTASKCOUNTLIMIT = "InvalidParameter.BatchTaskCountLimit" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_DOMAINSEMPTY = "InvalidParameter.DomainsEmpty" INVALIDPARAMETER_JOBGREATERTHANLIMIT = "InvalidParameter.JobGreaterThanLimit" INVALIDPARAMETER_RECORDVALUEINVALID = "InvalidParameter.RecordValueInvalid" INVALIDPARAMETER_RECORDVALUELENGTHINVALID = "InvalidParameter.RecordValueLengthInvalid" INVALIDPARAMETER_TOOMANYINVALIDDOMAINS = "InvalidParameter.TooManyInvalidDomains" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_IPINBLACKLISTNOTALLOWED = "OperationDenied.IPInBlacklistNotAllowed" REQUESTLIMITEXCEEDED_BATCHTASKLIMIT = "RequestLimitExceeded.BatchTaskLimit" REQUESTLIMITEXCEEDED_CREATEDOMAINLIMIT = "RequestLimitExceeded.CreateDomainLimit" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded"
func (*Client) CreateDomainBatchWithContext ¶
func (c *Client) CreateDomainBatchWithContext(ctx context.Context, request *CreateDomainBatchRequest) (response *CreateDomainBatchResponse, err error)
CreateDomainBatch This API is used to bulk add domains.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" INVALIDPARAMETER_BATCHDOMAINCREATEACTIONERROR = "InvalidParameter.BatchDomainCreateActionError" INVALIDPARAMETER_BATCHTASKCOUNTLIMIT = "InvalidParameter.BatchTaskCountLimit" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_DOMAINSEMPTY = "InvalidParameter.DomainsEmpty" INVALIDPARAMETER_JOBGREATERTHANLIMIT = "InvalidParameter.JobGreaterThanLimit" INVALIDPARAMETER_RECORDVALUEINVALID = "InvalidParameter.RecordValueInvalid" INVALIDPARAMETER_RECORDVALUELENGTHINVALID = "InvalidParameter.RecordValueLengthInvalid" INVALIDPARAMETER_TOOMANYINVALIDDOMAINS = "InvalidParameter.TooManyInvalidDomains" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_IPINBLACKLISTNOTALLOWED = "OperationDenied.IPInBlacklistNotAllowed" REQUESTLIMITEXCEEDED_BATCHTASKLIMIT = "RequestLimitExceeded.BatchTaskLimit" REQUESTLIMITEXCEEDED_CREATEDOMAINLIMIT = "RequestLimitExceeded.CreateDomainLimit" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded"
func (*Client) CreateDomainGroup ¶
func (c *Client) CreateDomainGroup(request *CreateDomainGroupRequest) (response *CreateDomainGroupResponse, err error)
CreateDomainGroup This API is used to create a domain group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NOTREALNAMEDUSER = "FailedOperation.NotRealNamedUser" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_GROUPNAMEEXISTS = "InvalidParameter.GroupNameExists" INVALIDPARAMETER_GROUPNAMEINVALID = "InvalidParameter.GroupNameInvalid" LIMITEXCEEDED_GROUPNUMBERLIMIT = "LimitExceeded.GroupNumberLimit" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateDomainGroupWithContext ¶
func (c *Client) CreateDomainGroupWithContext(ctx context.Context, request *CreateDomainGroupRequest) (response *CreateDomainGroupResponse, err error)
CreateDomainGroup This API is used to create a domain group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NOTREALNAMEDUSER = "FailedOperation.NotRealNamedUser" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_GROUPNAMEEXISTS = "InvalidParameter.GroupNameExists" INVALIDPARAMETER_GROUPNAMEINVALID = "InvalidParameter.GroupNameInvalid" LIMITEXCEEDED_GROUPNUMBERLIMIT = "LimitExceeded.GroupNumberLimit" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateDomainWithContext ¶
func (c *Client) CreateDomainWithContext(ctx context.Context, request *CreateDomainRequest) (response *CreateDomainResponse, err error)
CreateDomain This API is used to add a domain.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINEXISTS = "FailedOperation.DomainExists" FAILEDOPERATION_DOMAINOWNEDBYOTHERUSER = "FailedOperation.DomainOwnedByOtherUser" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_ACCOUNTISBANNED = "InvalidParameter.AccountIsBanned" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_DOMAINNOTREGED = "InvalidParameter.DomainNotReged" INVALIDPARAMETER_EMAILNOTVERIFIED = "InvalidParameter.EmailNotVerified" INVALIDPARAMETER_QUHUITXTRECORDWAIT = "InvalidParameter.QuhuiTxtRecordWait" INVALIDPARAMETER_TOOLSDOMAININVALID = "InvalidParameter.ToolsDomainInvalid" INVALIDPARAMETER_UNREALNAMEUSER = "InvalidParameter.UnrealNameUser"
func (*Client) CreateRecord ¶
func (c *Client) CreateRecord(request *CreateRecordRequest) (response *CreateRecordResponse, err error)
CreateRecord This API is used to add a record.
error code that may be returned:
FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" FAILEDOPERATION_LOGINAREANOTALLOWED = "FailedOperation.LoginAreaNotAllowed" FAILEDOPERATION_LOGINFAILED = "FailedOperation.LoginFailed" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_ACCOUNTISBANNED = "InvalidParameter.AccountIsBanned" INVALIDPARAMETER_CUSTOMMESSAGE = "InvalidParameter.CustomMessage" INVALIDPARAMETER_DNSSECADDCNAMEERROR = "InvalidParameter.DnssecAddCnameError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_DOMAINNOTALLOWEDMODIFYRECORDS = "InvalidParameter.DomainNotAllowedModifyRecords" INVALIDPARAMETER_DOMAINNOTBEIAN = "InvalidParameter.DomainNotBeian" INVALIDPARAMETER_DOMAINRECORDEXIST = "InvalidParameter.DomainRecordExist" INVALIDPARAMETER_EMAILNOTVERIFIED = "InvalidParameter.EmailNotVerified" INVALIDPARAMETER_INVALIDWEIGHT = "InvalidParameter.InvalidWeight" INVALIDPARAMETER_LOGINTOKENIDERROR = "InvalidParameter.LoginTokenIdError" INVALIDPARAMETER_LOGINTOKENNOTEXISTS = "InvalidParameter.LoginTokenNotExists" INVALIDPARAMETER_LOGINTOKENVALIDATEFAILED = "InvalidParameter.LoginTokenValidateFailed" INVALIDPARAMETER_MOBILENOTVERIFIED = "InvalidParameter.MobileNotVerified" INVALIDPARAMETER_MXINVALID = "InvalidParameter.MxInvalid" INVALIDPARAMETER_RECORDLINEINVALID = "InvalidParameter.RecordLineInvalid" INVALIDPARAMETER_RECORDTYPEINVALID = "InvalidParameter.RecordTypeInvalid" INVALIDPARAMETER_RECORDVALUEINVALID = "InvalidParameter.RecordValueInvalid" INVALIDPARAMETER_RECORDVALUELENGTHINVALID = "InvalidParameter.RecordValueLengthInvalid" INVALIDPARAMETER_REQUESTIPLIMITED = "InvalidParameter.RequestIpLimited" INVALIDPARAMETER_SUBDOMAININVALID = "InvalidParameter.SubdomainInvalid" INVALIDPARAMETER_UNREALNAMEUSER = "InvalidParameter.UnrealNameUser" INVALIDPARAMETER_URLVALUEILLEGAL = "InvalidParameter.UrlValueIllegal" INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIdInvalid" LIMITEXCEEDED_AAAACOUNTLIMIT = "LimitExceeded.AAAACountLimit" LIMITEXCEEDED_ATNSRECORDLIMIT = "LimitExceeded.AtNsRecordLimit" LIMITEXCEEDED_FAILEDLOGINLIMITEXCEEDED = "LimitExceeded.FailedLoginLimitExceeded" LIMITEXCEEDED_HIDDENURLEXCEEDED = "LimitExceeded.HiddenUrlExceeded" LIMITEXCEEDED_NSCOUNTLIMIT = "LimitExceeded.NsCountLimit" LIMITEXCEEDED_RECORDTTLLIMIT = "LimitExceeded.RecordTtlLimit" LIMITEXCEEDED_SRVCOUNTLIMIT = "LimitExceeded.SrvCountLimit" LIMITEXCEEDED_SUBDOMAINLEVELLIMIT = "LimitExceeded.SubdomainLevelLimit" LIMITEXCEEDED_SUBDOMAINROLLLIMIT = "LimitExceeded.SubdomainRollLimit" LIMITEXCEEDED_SUBDOMAINWCARDLIMIT = "LimitExceeded.SubdomainWcardLimit" LIMITEXCEEDED_URLCOUNTLIMIT = "LimitExceeded.UrlCountLimit" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_IPINBLACKLISTNOTALLOWED = "OperationDenied.IPInBlacklistNotAllowed" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" OPERATIONDENIED_NOTADMIN = "OperationDenied.NotAdmin" OPERATIONDENIED_NOTAGENT = "OperationDenied.NotAgent" OPERATIONDENIED_NOTMANAGEDUSER = "OperationDenied.NotManagedUser" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded"
func (*Client) CreateRecordBatch ¶
func (c *Client) CreateRecordBatch(request *CreateRecordBatchRequest) (response *CreateRecordBatchResponse, err error)
CreateRecordBatch This API is used to bulk add records.
error code that may be returned:
FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" INVALIDPARAMETER_BATCHRECORDCREATEACTIONERROR = "InvalidParameter.BatchRecordCreateActionError" INVALIDPARAMETER_BATCHTASKCOUNTLIMIT = "InvalidParameter.BatchTaskCountLimit" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_DOMAINSEMPTY = "InvalidParameter.DomainsEmpty" INVALIDPARAMETER_JOBGREATERTHANLIMIT = "InvalidParameter.JobGreaterThanLimit" INVALIDPARAMETER_PARAMSILLEGAL = "InvalidParameter.ParamsIllegal" INVALIDPARAMETER_RECORDVALUEINVALID = "InvalidParameter.RecordValueInvalid" INVALIDPARAMETER_RECORDVALUELENGTHINVALID = "InvalidParameter.RecordValueLengthInvalid" INVALIDPARAMETER_RECORDSEMPTY = "InvalidParameter.RecordsEmpty" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_IPINBLACKLISTNOTALLOWED = "OperationDenied.IPInBlacklistNotAllowed" REQUESTLIMITEXCEEDED_BATCHTASKLIMIT = "RequestLimitExceeded.BatchTaskLimit" REQUESTLIMITEXCEEDED_CREATEDOMAINLIMIT = "RequestLimitExceeded.CreateDomainLimit" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded"
func (*Client) CreateRecordBatchWithContext ¶
func (c *Client) CreateRecordBatchWithContext(ctx context.Context, request *CreateRecordBatchRequest) (response *CreateRecordBatchResponse, err error)
CreateRecordBatch This API is used to bulk add records.
error code that may be returned:
FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" INVALIDPARAMETER_BATCHRECORDCREATEACTIONERROR = "InvalidParameter.BatchRecordCreateActionError" INVALIDPARAMETER_BATCHTASKCOUNTLIMIT = "InvalidParameter.BatchTaskCountLimit" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_DOMAINSEMPTY = "InvalidParameter.DomainsEmpty" INVALIDPARAMETER_JOBGREATERTHANLIMIT = "InvalidParameter.JobGreaterThanLimit" INVALIDPARAMETER_PARAMSILLEGAL = "InvalidParameter.ParamsIllegal" INVALIDPARAMETER_RECORDVALUEINVALID = "InvalidParameter.RecordValueInvalid" INVALIDPARAMETER_RECORDVALUELENGTHINVALID = "InvalidParameter.RecordValueLengthInvalid" INVALIDPARAMETER_RECORDSEMPTY = "InvalidParameter.RecordsEmpty" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_IPINBLACKLISTNOTALLOWED = "OperationDenied.IPInBlacklistNotAllowed" REQUESTLIMITEXCEEDED_BATCHTASKLIMIT = "RequestLimitExceeded.BatchTaskLimit" REQUESTLIMITEXCEEDED_CREATEDOMAINLIMIT = "RequestLimitExceeded.CreateDomainLimit" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded"
func (*Client) CreateRecordGroup ¶
func (c *Client) CreateRecordGroup(request *CreateRecordGroupRequest) (response *CreateRecordGroupResponse, err error)
CreateRecordGroup This API is used to add a record group.
error code that may be returned:
FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain"
func (*Client) CreateRecordGroupWithContext ¶
func (c *Client) CreateRecordGroupWithContext(ctx context.Context, request *CreateRecordGroupRequest) (response *CreateRecordGroupResponse, err error)
CreateRecordGroup This API is used to add a record group.
error code that may be returned:
FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain"
func (*Client) CreateRecordWithContext ¶
func (c *Client) CreateRecordWithContext(ctx context.Context, request *CreateRecordRequest) (response *CreateRecordResponse, err error)
CreateRecord This API is used to add a record.
error code that may be returned:
FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" FAILEDOPERATION_LOGINAREANOTALLOWED = "FailedOperation.LoginAreaNotAllowed" FAILEDOPERATION_LOGINFAILED = "FailedOperation.LoginFailed" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_ACCOUNTISBANNED = "InvalidParameter.AccountIsBanned" INVALIDPARAMETER_CUSTOMMESSAGE = "InvalidParameter.CustomMessage" INVALIDPARAMETER_DNSSECADDCNAMEERROR = "InvalidParameter.DnssecAddCnameError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_DOMAINNOTALLOWEDMODIFYRECORDS = "InvalidParameter.DomainNotAllowedModifyRecords" INVALIDPARAMETER_DOMAINNOTBEIAN = "InvalidParameter.DomainNotBeian" INVALIDPARAMETER_DOMAINRECORDEXIST = "InvalidParameter.DomainRecordExist" INVALIDPARAMETER_EMAILNOTVERIFIED = "InvalidParameter.EmailNotVerified" INVALIDPARAMETER_INVALIDWEIGHT = "InvalidParameter.InvalidWeight" INVALIDPARAMETER_LOGINTOKENIDERROR = "InvalidParameter.LoginTokenIdError" INVALIDPARAMETER_LOGINTOKENNOTEXISTS = "InvalidParameter.LoginTokenNotExists" INVALIDPARAMETER_LOGINTOKENVALIDATEFAILED = "InvalidParameter.LoginTokenValidateFailed" INVALIDPARAMETER_MOBILENOTVERIFIED = "InvalidParameter.MobileNotVerified" INVALIDPARAMETER_MXINVALID = "InvalidParameter.MxInvalid" INVALIDPARAMETER_RECORDLINEINVALID = "InvalidParameter.RecordLineInvalid" INVALIDPARAMETER_RECORDTYPEINVALID = "InvalidParameter.RecordTypeInvalid" INVALIDPARAMETER_RECORDVALUEINVALID = "InvalidParameter.RecordValueInvalid" INVALIDPARAMETER_RECORDVALUELENGTHINVALID = "InvalidParameter.RecordValueLengthInvalid" INVALIDPARAMETER_REQUESTIPLIMITED = "InvalidParameter.RequestIpLimited" INVALIDPARAMETER_SUBDOMAININVALID = "InvalidParameter.SubdomainInvalid" INVALIDPARAMETER_UNREALNAMEUSER = "InvalidParameter.UnrealNameUser" INVALIDPARAMETER_URLVALUEILLEGAL = "InvalidParameter.UrlValueIllegal" INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIdInvalid" LIMITEXCEEDED_AAAACOUNTLIMIT = "LimitExceeded.AAAACountLimit" LIMITEXCEEDED_ATNSRECORDLIMIT = "LimitExceeded.AtNsRecordLimit" LIMITEXCEEDED_FAILEDLOGINLIMITEXCEEDED = "LimitExceeded.FailedLoginLimitExceeded" LIMITEXCEEDED_HIDDENURLEXCEEDED = "LimitExceeded.HiddenUrlExceeded" LIMITEXCEEDED_NSCOUNTLIMIT = "LimitExceeded.NsCountLimit" LIMITEXCEEDED_RECORDTTLLIMIT = "LimitExceeded.RecordTtlLimit" LIMITEXCEEDED_SRVCOUNTLIMIT = "LimitExceeded.SrvCountLimit" LIMITEXCEEDED_SUBDOMAINLEVELLIMIT = "LimitExceeded.SubdomainLevelLimit" LIMITEXCEEDED_SUBDOMAINROLLLIMIT = "LimitExceeded.SubdomainRollLimit" LIMITEXCEEDED_SUBDOMAINWCARDLIMIT = "LimitExceeded.SubdomainWcardLimit" LIMITEXCEEDED_URLCOUNTLIMIT = "LimitExceeded.UrlCountLimit" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_IPINBLACKLISTNOTALLOWED = "OperationDenied.IPInBlacklistNotAllowed" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" OPERATIONDENIED_NOTADMIN = "OperationDenied.NotAdmin" OPERATIONDENIED_NOTAGENT = "OperationDenied.NotAgent" OPERATIONDENIED_NOTMANAGEDUSER = "OperationDenied.NotManagedUser" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded"
func (*Client) DeleteDomain ¶
func (c *Client) DeleteDomain(request *DeleteDomainRequest) (response *DeleteDomainResponse, err error)
DeleteDomain This API is used to delete a domain.
error code that may be returned:
FAILEDOPERATION_DOMAINISKEYDOMAIN = "FailedOperation.DomainIsKeyDomain" FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" FAILEDOPERATION_DOMAINISVIP = "FailedOperation.DomainIsVip" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_ACCOUNTISBANNED = "InvalidParameter.AccountIsBanned" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININEFFECTORINVALIDATED = "InvalidParameter.DomainInEffectOrInvalidated" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly"
func (*Client) DeleteDomainAlias ¶
func (c *Client) DeleteDomainAlias(request *DeleteDomainAliasRequest) (response *DeleteDomainAliasResponse, err error)
DeleteDomainAlias This API is used to delete a domain alias.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" FAILEDOPERATION_NOTREALNAMEDUSER = "FailedOperation.NotRealNamedUser" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DOMAINALIASIDINVALID = "InvalidParameter.DomainAliasIdInvalid" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININEFFECTORINVALIDATED = "InvalidParameter.DomainInEffectOrInvalidated" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteDomainAliasWithContext ¶
func (c *Client) DeleteDomainAliasWithContext(ctx context.Context, request *DeleteDomainAliasRequest) (response *DeleteDomainAliasResponse, err error)
DeleteDomainAlias This API is used to delete a domain alias.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" FAILEDOPERATION_NOTREALNAMEDUSER = "FailedOperation.NotRealNamedUser" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DOMAINALIASIDINVALID = "InvalidParameter.DomainAliasIdInvalid" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININEFFECTORINVALIDATED = "InvalidParameter.DomainInEffectOrInvalidated" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteDomainBatch ¶
func (c *Client) DeleteDomainBatch(request *DeleteDomainBatchRequest) (response *DeleteDomainBatchResponse, err error)
DeleteDomainBatch This API is used to batch delete domains.
error code that may be returned:
FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_BATCHRECORDREMOVEACTIONERROR = "InvalidParameter.BatchRecordRemoveActionError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain"
func (*Client) DeleteDomainBatchWithContext ¶
func (c *Client) DeleteDomainBatchWithContext(ctx context.Context, request *DeleteDomainBatchRequest) (response *DeleteDomainBatchResponse, err error)
DeleteDomainBatch This API is used to batch delete domains.
error code that may be returned:
FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_BATCHRECORDREMOVEACTIONERROR = "InvalidParameter.BatchRecordRemoveActionError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain"
func (*Client) DeleteDomainWithContext ¶
func (c *Client) DeleteDomainWithContext(ctx context.Context, request *DeleteDomainRequest) (response *DeleteDomainResponse, err error)
DeleteDomain This API is used to delete a domain.
error code that may be returned:
FAILEDOPERATION_DOMAINISKEYDOMAIN = "FailedOperation.DomainIsKeyDomain" FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" FAILEDOPERATION_DOMAINISVIP = "FailedOperation.DomainIsVip" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_ACCOUNTISBANNED = "InvalidParameter.AccountIsBanned" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININEFFECTORINVALIDATED = "InvalidParameter.DomainInEffectOrInvalidated" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly"
func (*Client) DeleteRecord ¶
func (c *Client) DeleteRecord(request *DeleteRecordRequest) (response *DeleteRecordResponse, err error)
DeleteRecord This API is used to delete a record.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" FAILEDOPERATION_LOGINAREANOTALLOWED = "FailedOperation.LoginAreaNotAllowed" FAILEDOPERATION_LOGINFAILED = "FailedOperation.LoginFailed" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_DOMAINNOTALLOWEDMODIFYRECORDS = "InvalidParameter.DomainNotAllowedModifyRecords" INVALIDPARAMETER_LOGINTOKENIDERROR = "InvalidParameter.LoginTokenIdError" INVALIDPARAMETER_LOGINTOKENNOTEXISTS = "InvalidParameter.LoginTokenNotExists" INVALIDPARAMETER_LOGINTOKENVALIDATEFAILED = "InvalidParameter.LoginTokenValidateFailed" INVALIDPARAMETER_RECORDIDINVALID = "InvalidParameter.RecordIdInvalid" INVALIDPARAMETER_REQUESTIPLIMITED = "InvalidParameter.RequestIpLimited" INVALIDPARAMETER_UNREALNAMEUSER = "InvalidParameter.UnrealNameUser" INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIdInvalid" LIMITEXCEEDED_FAILEDLOGINLIMITEXCEEDED = "LimitExceeded.FailedLoginLimitExceeded" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" OPERATIONDENIED_NOTADMIN = "OperationDenied.NotAdmin" OPERATIONDENIED_NOTAGENT = "OperationDenied.NotAgent" OPERATIONDENIED_NOTMANAGEDUSER = "OperationDenied.NotManagedUser" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded"
func (*Client) DeleteRecordGroup ¶
func (c *Client) DeleteRecordGroup(request *DeleteRecordGroupRequest) (response *DeleteRecordGroupResponse, err error)
DeleteRecordGroup This API is used to delete a record group.
error code that may be returned:
FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain"
func (*Client) DeleteRecordGroupWithContext ¶
func (c *Client) DeleteRecordGroupWithContext(ctx context.Context, request *DeleteRecordGroupRequest) (response *DeleteRecordGroupResponse, err error)
DeleteRecordGroup This API is used to delete a record group.
error code that may be returned:
FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain"
func (*Client) DeleteRecordWithContext ¶
func (c *Client) DeleteRecordWithContext(ctx context.Context, request *DeleteRecordRequest) (response *DeleteRecordResponse, err error)
DeleteRecord This API is used to delete a record.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" FAILEDOPERATION_LOGINAREANOTALLOWED = "FailedOperation.LoginAreaNotAllowed" FAILEDOPERATION_LOGINFAILED = "FailedOperation.LoginFailed" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_DOMAINNOTALLOWEDMODIFYRECORDS = "InvalidParameter.DomainNotAllowedModifyRecords" INVALIDPARAMETER_LOGINTOKENIDERROR = "InvalidParameter.LoginTokenIdError" INVALIDPARAMETER_LOGINTOKENNOTEXISTS = "InvalidParameter.LoginTokenNotExists" INVALIDPARAMETER_LOGINTOKENVALIDATEFAILED = "InvalidParameter.LoginTokenValidateFailed" INVALIDPARAMETER_RECORDIDINVALID = "InvalidParameter.RecordIdInvalid" INVALIDPARAMETER_REQUESTIPLIMITED = "InvalidParameter.RequestIpLimited" INVALIDPARAMETER_UNREALNAMEUSER = "InvalidParameter.UnrealNameUser" INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIdInvalid" LIMITEXCEEDED_FAILEDLOGINLIMITEXCEEDED = "LimitExceeded.FailedLoginLimitExceeded" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" OPERATIONDENIED_NOTADMIN = "OperationDenied.NotAdmin" OPERATIONDENIED_NOTAGENT = "OperationDenied.NotAgent" OPERATIONDENIED_NOTMANAGEDUSER = "OperationDenied.NotManagedUser" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded"
func (*Client) DeleteShareDomain ¶
func (c *Client) DeleteShareDomain(request *DeleteShareDomainRequest) (response *DeleteShareDomainResponse, err error)
DeleteShareDomain This API is used to unshare a domain.
error code that may be returned:
FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_EMAILINVALID = "InvalidParameter.EmailInvalid" INVALIDPARAMETER_EMAILORQQINVALID = "InvalidParameter.EmailOrQqInvalid" INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly"
func (*Client) DeleteShareDomainWithContext ¶
func (c *Client) DeleteShareDomainWithContext(ctx context.Context, request *DeleteShareDomainRequest) (response *DeleteShareDomainResponse, err error)
DeleteShareDomain This API is used to unshare a domain.
error code that may be returned:
FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_EMAILINVALID = "InvalidParameter.EmailInvalid" INVALIDPARAMETER_EMAILORQQINVALID = "InvalidParameter.EmailOrQqInvalid" INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly"
func (*Client) DescribeDomain ¶
func (c *Client) DescribeDomain(request *DescribeDomainRequest) (response *DescribeDomainResponse, err error)
DescribeDomain This API is used to get the information of a domain.
error code that may be returned:
FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain"
func (*Client) DescribeDomainAliasList ¶
func (c *Client) DescribeDomainAliasList(request *DescribeDomainAliasListRequest) (response *DescribeDomainAliasListResponse, err error)
DescribeDomainAliasList This API is used to get the list of domain aliases.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NOTREALNAMEDUSER = "FailedOperation.NotRealNamedUser" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_NODATAOFDOMAINALIAS = "ResourceNotFound.NoDataOfDomainAlias"
func (*Client) DescribeDomainAliasListWithContext ¶
func (c *Client) DescribeDomainAliasListWithContext(ctx context.Context, request *DescribeDomainAliasListRequest) (response *DescribeDomainAliasListResponse, err error)
DescribeDomainAliasList This API is used to get the list of domain aliases.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NOTREALNAMEDUSER = "FailedOperation.NotRealNamedUser" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_NODATAOFDOMAINALIAS = "ResourceNotFound.NoDataOfDomainAlias"
func (*Client) DescribeDomainGroupList ¶
func (c *Client) DescribeDomainGroupList(request *DescribeDomainGroupListRequest) (response *DescribeDomainGroupListResponse, err error)
DescribeDomainGroupList This API is used to get the list of domain groups.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NOTREALNAMEDUSER = "FailedOperation.NotRealNamedUser" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeDomainGroupListWithContext ¶
func (c *Client) DescribeDomainGroupListWithContext(ctx context.Context, request *DescribeDomainGroupListRequest) (response *DescribeDomainGroupListResponse, err error)
DescribeDomainGroupList This API is used to get the list of domain groups.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NOTREALNAMEDUSER = "FailedOperation.NotRealNamedUser" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeDomainList ¶
func (c *Client) DescribeDomainList(request *DescribeDomainListRequest) (response *DescribeDomainListResponse, err error)
DescribeDomainList This API is used to get the list of domains.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NOTREALNAMEDUSER = "FailedOperation.NotRealNamedUser" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_GROUPIDINVALID = "InvalidParameter.GroupIdInvalid" INVALIDPARAMETER_OFFSETINVALID = "InvalidParameter.OffsetInvalid" INVALIDPARAMETER_OPERATEFAILED = "InvalidParameter.OperateFailed" INVALIDPARAMETER_RESULTMORETHAN500 = "InvalidParameter.ResultMoreThan500" INVALIDPARAMETERVALUE_LIMITINVALID = "InvalidParameterValue.LimitInvalid" OPERATIONDENIED_ACCESSDENIED = "OperationDenied.AccessDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeDomainListWithContext ¶
func (c *Client) DescribeDomainListWithContext(ctx context.Context, request *DescribeDomainListRequest) (response *DescribeDomainListResponse, err error)
DescribeDomainList This API is used to get the list of domains.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NOTREALNAMEDUSER = "FailedOperation.NotRealNamedUser" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_GROUPIDINVALID = "InvalidParameter.GroupIdInvalid" INVALIDPARAMETER_OFFSETINVALID = "InvalidParameter.OffsetInvalid" INVALIDPARAMETER_OPERATEFAILED = "InvalidParameter.OperateFailed" INVALIDPARAMETER_RESULTMORETHAN500 = "InvalidParameter.ResultMoreThan500" INVALIDPARAMETERVALUE_LIMITINVALID = "InvalidParameterValue.LimitInvalid" OPERATIONDENIED_ACCESSDENIED = "OperationDenied.AccessDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeDomainLogList ¶
func (c *Client) DescribeDomainLogList(request *DescribeDomainLogListRequest) (response *DescribeDomainLogListResponse, err error)
DescribeDomainLogList This API is used to get the log of a domain.
error code that may be returned:
FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain"
func (*Client) DescribeDomainLogListWithContext ¶
func (c *Client) DescribeDomainLogListWithContext(ctx context.Context, request *DescribeDomainLogListRequest) (response *DescribeDomainLogListResponse, err error)
DescribeDomainLogList This API is used to get the log of a domain.
error code that may be returned:
FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain"
func (*Client) DescribeDomainPurview ¶
func (c *Client) DescribeDomainPurview(request *DescribeDomainPurviewRequest) (response *DescribeDomainPurviewResponse, err error)
DescribeDomainPurview This API is used to get the permissions of a domain.
error code that may be returned:
FAILEDOPERATION_LOGINAREANOTALLOWED = "FailedOperation.LoginAreaNotAllowed" FAILEDOPERATION_LOGINFAILED = "FailedOperation.LoginFailed" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_LOGINTOKENIDERROR = "InvalidParameter.LoginTokenIdError" INVALIDPARAMETER_LOGINTOKENNOTEXISTS = "InvalidParameter.LoginTokenNotExists" INVALIDPARAMETER_LOGINTOKENVALIDATEFAILED = "InvalidParameter.LoginTokenValidateFailed" INVALIDPARAMETER_REQUESTIPLIMITED = "InvalidParameter.RequestIpLimited" INVALIDPARAMETER_UNREALNAMEUSER = "InvalidParameter.UnrealNameUser" INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIdInvalid" LIMITEXCEEDED_FAILEDLOGINLIMITEXCEEDED = "LimitExceeded.FailedLoginLimitExceeded" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" OPERATIONDENIED_NOTAGENT = "OperationDenied.NotAgent" OPERATIONDENIED_NOTMANAGEDUSER = "OperationDenied.NotManagedUser" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded"
func (*Client) DescribeDomainPurviewWithContext ¶
func (c *Client) DescribeDomainPurviewWithContext(ctx context.Context, request *DescribeDomainPurviewRequest) (response *DescribeDomainPurviewResponse, err error)
DescribeDomainPurview This API is used to get the permissions of a domain.
error code that may be returned:
FAILEDOPERATION_LOGINAREANOTALLOWED = "FailedOperation.LoginAreaNotAllowed" FAILEDOPERATION_LOGINFAILED = "FailedOperation.LoginFailed" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_LOGINTOKENIDERROR = "InvalidParameter.LoginTokenIdError" INVALIDPARAMETER_LOGINTOKENNOTEXISTS = "InvalidParameter.LoginTokenNotExists" INVALIDPARAMETER_LOGINTOKENVALIDATEFAILED = "InvalidParameter.LoginTokenValidateFailed" INVALIDPARAMETER_REQUESTIPLIMITED = "InvalidParameter.RequestIpLimited" INVALIDPARAMETER_UNREALNAMEUSER = "InvalidParameter.UnrealNameUser" INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIdInvalid" LIMITEXCEEDED_FAILEDLOGINLIMITEXCEEDED = "LimitExceeded.FailedLoginLimitExceeded" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" OPERATIONDENIED_NOTAGENT = "OperationDenied.NotAgent" OPERATIONDENIED_NOTMANAGEDUSER = "OperationDenied.NotManagedUser" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded"
func (*Client) DescribeDomainShareInfo ¶
func (c *Client) DescribeDomainShareInfo(request *DescribeDomainShareInfoRequest) (response *DescribeDomainShareInfoResponse, err error)
DescribeDomainShareInfo This API is used to get the domain sharing information.
error code that may be returned:
INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain"
func (*Client) DescribeDomainShareInfoWithContext ¶
func (c *Client) DescribeDomainShareInfoWithContext(ctx context.Context, request *DescribeDomainShareInfoRequest) (response *DescribeDomainShareInfoResponse, err error)
DescribeDomainShareInfo This API is used to get the domain sharing information.
error code that may be returned:
INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain"
func (*Client) DescribeDomainWithContext ¶
func (c *Client) DescribeDomainWithContext(ctx context.Context, request *DescribeDomainRequest) (response *DescribeDomainResponse, err error)
DescribeDomain This API is used to get the information of a domain.
error code that may be returned:
FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain"
func (*Client) DescribeRecord ¶
func (c *Client) DescribeRecord(request *DescribeRecordRequest) (response *DescribeRecordResponse, err error)
DescribeRecord This API is used to get the information of a record.
error code that may be returned:
FAILEDOPERATION_LOGINAREANOTALLOWED = "FailedOperation.LoginAreaNotAllowed" FAILEDOPERATION_LOGINFAILED = "FailedOperation.LoginFailed" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_LOGINTOKENIDERROR = "InvalidParameter.LoginTokenIdError" INVALIDPARAMETER_LOGINTOKENNOTEXISTS = "InvalidParameter.LoginTokenNotExists" INVALIDPARAMETER_LOGINTOKENVALIDATEFAILED = "InvalidParameter.LoginTokenValidateFailed" INVALIDPARAMETER_RECORDIDINVALID = "InvalidParameter.RecordIdInvalid" INVALIDPARAMETER_REQUESTIPLIMITED = "InvalidParameter.RequestIpLimited" INVALIDPARAMETER_UNREALNAMEUSER = "InvalidParameter.UnrealNameUser" INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIdInvalid" LIMITEXCEEDED_FAILEDLOGINLIMITEXCEEDED = "LimitExceeded.FailedLoginLimitExceeded" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" OPERATIONDENIED_NOTADMIN = "OperationDenied.NotAdmin" OPERATIONDENIED_NOTAGENT = "OperationDenied.NotAgent" OPERATIONDENIED_NOTMANAGEDUSER = "OperationDenied.NotManagedUser" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded"
func (*Client) DescribeRecordGroupList ¶
func (c *Client) DescribeRecordGroupList(request *DescribeRecordGroupListRequest) (response *DescribeRecordGroupListResponse, err error)
DescribeRecordGroupList This API is used to query the list of DNS record groups.
error code that may be returned:
FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain"
func (*Client) DescribeRecordGroupListWithContext ¶
func (c *Client) DescribeRecordGroupListWithContext(ctx context.Context, request *DescribeRecordGroupListRequest) (response *DescribeRecordGroupListResponse, err error)
DescribeRecordGroupList This API is used to query the list of DNS record groups.
error code that may be returned:
FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain"
func (*Client) DescribeRecordLineList ¶
func (c *Client) DescribeRecordLineList(request *DescribeRecordLineListRequest) (response *DescribeRecordLineListResponse, err error)
DescribeRecordLineList This API is used to get the split zones allowed by the domain level.
error code that may be returned:
FAILEDOPERATION_LOGINAREANOTALLOWED = "FailedOperation.LoginAreaNotAllowed" FAILEDOPERATION_LOGINFAILED = "FailedOperation.LoginFailed" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_LOGINTOKENIDERROR = "InvalidParameter.LoginTokenIdError" INVALIDPARAMETER_LOGINTOKENNOTEXISTS = "InvalidParameter.LoginTokenNotExists" INVALIDPARAMETER_LOGINTOKENVALIDATEFAILED = "InvalidParameter.LoginTokenValidateFailed" INVALIDPARAMETER_REQUESTIPLIMITED = "InvalidParameter.RequestIpLimited" INVALIDPARAMETER_UNREALNAMEUSER = "InvalidParameter.UnrealNameUser" INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" INVALIDPARAMETERVALUE_DOMAINGRADEINVALID = "InvalidParameterValue.DomainGradeInvalid" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIdInvalid" LIMITEXCEEDED_FAILEDLOGINLIMITEXCEEDED = "LimitExceeded.FailedLoginLimitExceeded" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" OPERATIONDENIED_NOTAGENT = "OperationDenied.NotAgent" OPERATIONDENIED_NOTMANAGEDUSER = "OperationDenied.NotManagedUser" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded"
func (*Client) DescribeRecordLineListWithContext ¶
func (c *Client) DescribeRecordLineListWithContext(ctx context.Context, request *DescribeRecordLineListRequest) (response *DescribeRecordLineListResponse, err error)
DescribeRecordLineList This API is used to get the split zones allowed by the domain level.
error code that may be returned:
FAILEDOPERATION_LOGINAREANOTALLOWED = "FailedOperation.LoginAreaNotAllowed" FAILEDOPERATION_LOGINFAILED = "FailedOperation.LoginFailed" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_LOGINTOKENIDERROR = "InvalidParameter.LoginTokenIdError" INVALIDPARAMETER_LOGINTOKENNOTEXISTS = "InvalidParameter.LoginTokenNotExists" INVALIDPARAMETER_LOGINTOKENVALIDATEFAILED = "InvalidParameter.LoginTokenValidateFailed" INVALIDPARAMETER_REQUESTIPLIMITED = "InvalidParameter.RequestIpLimited" INVALIDPARAMETER_UNREALNAMEUSER = "InvalidParameter.UnrealNameUser" INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" INVALIDPARAMETERVALUE_DOMAINGRADEINVALID = "InvalidParameterValue.DomainGradeInvalid" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIdInvalid" LIMITEXCEEDED_FAILEDLOGINLIMITEXCEEDED = "LimitExceeded.FailedLoginLimitExceeded" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" OPERATIONDENIED_NOTAGENT = "OperationDenied.NotAgent" OPERATIONDENIED_NOTMANAGEDUSER = "OperationDenied.NotManagedUser" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded"
func (*Client) DescribeRecordList ¶
func (c *Client) DescribeRecordList(request *DescribeRecordListRequest) (response *DescribeRecordListResponse, err error)
DescribeRecordList This API is used to get the DNS records of a domain.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NOTDOMAINOWNER = "FailedOperation.NotDomainOwner" FAILEDOPERATION_NOTREALNAMEDUSER = "FailedOperation.NotRealNamedUser" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_OPERATEFAILED = "InvalidParameter.OperateFailed" INVALIDPARAMETER_PARAMINVALID = "InvalidParameter.ParamInvalid" INVALIDPARAMETER_RECORDLINEINVALID = "InvalidParameter.RecordLineInvalid" INVALIDPARAMETER_RECORDTYPEINVALID = "InvalidParameter.RecordTypeInvalid" INVALIDPARAMETER_RESULTMORETHAN500 = "InvalidParameter.ResultMoreThan500" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" INVALIDPARAMETERVALUE_LIMITINVALID = "InvalidParameterValue.LimitInvalid" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded" RESOURCENOTFOUND_NODATAOFRECORD = "ResourceNotFound.NoDataOfRecord" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeRecordListWithContext ¶
func (c *Client) DescribeRecordListWithContext(ctx context.Context, request *DescribeRecordListRequest) (response *DescribeRecordListResponse, err error)
DescribeRecordList This API is used to get the DNS records of a domain.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NOTDOMAINOWNER = "FailedOperation.NotDomainOwner" FAILEDOPERATION_NOTREALNAMEDUSER = "FailedOperation.NotRealNamedUser" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_OPERATEFAILED = "InvalidParameter.OperateFailed" INVALIDPARAMETER_PARAMINVALID = "InvalidParameter.ParamInvalid" INVALIDPARAMETER_RECORDLINEINVALID = "InvalidParameter.RecordLineInvalid" INVALIDPARAMETER_RECORDTYPEINVALID = "InvalidParameter.RecordTypeInvalid" INVALIDPARAMETER_RESULTMORETHAN500 = "InvalidParameter.ResultMoreThan500" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" INVALIDPARAMETERVALUE_LIMITINVALID = "InvalidParameterValue.LimitInvalid" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded" RESOURCENOTFOUND_NODATAOFRECORD = "ResourceNotFound.NoDataOfRecord" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeRecordType ¶
func (c *Client) DescribeRecordType(request *DescribeRecordTypeRequest) (response *DescribeRecordTypeResponse, err error)
DescribeRecordType This API is used to get the record type allowed by the domain level.
error code that may be returned:
FAILEDOPERATION_LOGINAREANOTALLOWED = "FailedOperation.LoginAreaNotAllowed" FAILEDOPERATION_LOGINFAILED = "FailedOperation.LoginFailed" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_LOGINTOKENIDERROR = "InvalidParameter.LoginTokenIdError" INVALIDPARAMETER_LOGINTOKENNOTEXISTS = "InvalidParameter.LoginTokenNotExists" INVALIDPARAMETER_LOGINTOKENVALIDATEFAILED = "InvalidParameter.LoginTokenValidateFailed" INVALIDPARAMETER_REQUESTIPLIMITED = "InvalidParameter.RequestIpLimited" INVALIDPARAMETER_UNREALNAMEUSER = "InvalidParameter.UnrealNameUser" INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" INVALIDPARAMETERVALUE_DOMAINGRADEINVALID = "InvalidParameterValue.DomainGradeInvalid" INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIdInvalid" LIMITEXCEEDED_FAILEDLOGINLIMITEXCEEDED = "LimitExceeded.FailedLoginLimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_NOTAGENT = "OperationDenied.NotAgent" OPERATIONDENIED_NOTMANAGEDUSER = "OperationDenied.NotManagedUser" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeRecordTypeWithContext ¶
func (c *Client) DescribeRecordTypeWithContext(ctx context.Context, request *DescribeRecordTypeRequest) (response *DescribeRecordTypeResponse, err error)
DescribeRecordType This API is used to get the record type allowed by the domain level.
error code that may be returned:
FAILEDOPERATION_LOGINAREANOTALLOWED = "FailedOperation.LoginAreaNotAllowed" FAILEDOPERATION_LOGINFAILED = "FailedOperation.LoginFailed" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_LOGINTOKENIDERROR = "InvalidParameter.LoginTokenIdError" INVALIDPARAMETER_LOGINTOKENNOTEXISTS = "InvalidParameter.LoginTokenNotExists" INVALIDPARAMETER_LOGINTOKENVALIDATEFAILED = "InvalidParameter.LoginTokenValidateFailed" INVALIDPARAMETER_REQUESTIPLIMITED = "InvalidParameter.RequestIpLimited" INVALIDPARAMETER_UNREALNAMEUSER = "InvalidParameter.UnrealNameUser" INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" INVALIDPARAMETERVALUE_DOMAINGRADEINVALID = "InvalidParameterValue.DomainGradeInvalid" INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIdInvalid" LIMITEXCEEDED_FAILEDLOGINLIMITEXCEEDED = "LimitExceeded.FailedLoginLimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_NOTAGENT = "OperationDenied.NotAgent" OPERATIONDENIED_NOTMANAGEDUSER = "OperationDenied.NotManagedUser" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeRecordWithContext ¶
func (c *Client) DescribeRecordWithContext(ctx context.Context, request *DescribeRecordRequest) (response *DescribeRecordResponse, err error)
DescribeRecord This API is used to get the information of a record.
error code that may be returned:
FAILEDOPERATION_LOGINAREANOTALLOWED = "FailedOperation.LoginAreaNotAllowed" FAILEDOPERATION_LOGINFAILED = "FailedOperation.LoginFailed" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_LOGINTOKENIDERROR = "InvalidParameter.LoginTokenIdError" INVALIDPARAMETER_LOGINTOKENNOTEXISTS = "InvalidParameter.LoginTokenNotExists" INVALIDPARAMETER_LOGINTOKENVALIDATEFAILED = "InvalidParameter.LoginTokenValidateFailed" INVALIDPARAMETER_RECORDIDINVALID = "InvalidParameter.RecordIdInvalid" INVALIDPARAMETER_REQUESTIPLIMITED = "InvalidParameter.RequestIpLimited" INVALIDPARAMETER_UNREALNAMEUSER = "InvalidParameter.UnrealNameUser" INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIdInvalid" LIMITEXCEEDED_FAILEDLOGINLIMITEXCEEDED = "LimitExceeded.FailedLoginLimitExceeded" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" OPERATIONDENIED_NOTADMIN = "OperationDenied.NotAdmin" OPERATIONDENIED_NOTAGENT = "OperationDenied.NotAgent" OPERATIONDENIED_NOTMANAGEDUSER = "OperationDenied.NotManagedUser" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded"
func (*Client) DescribeSubdomainAnalytics ¶
func (c *Client) DescribeSubdomainAnalytics(request *DescribeSubdomainAnalyticsRequest) (response *DescribeSubdomainAnalyticsResponse, err error)
DescribeSubdomainAnalytics This API is used to collect statistics on the DNS query volume of a subdomain. It helps you understand the traffic and time period distribution and allows you to view statistics in the last three months. It is available only for domains under a paid plan.
error code that may be returned:
FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" FAILEDOPERATION_DOMAINNOTINSERVICE = "FailedOperation.DomainNotInService" FAILEDOPERATION_TEMPORARYERROR = "FailedOperation.TemporaryError" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETERVALUE_DOMAINGRADEINVALID = "InvalidParameterValue.DomainGradeInvalid" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly"
func (*Client) DescribeSubdomainAnalyticsWithContext ¶
func (c *Client) DescribeSubdomainAnalyticsWithContext(ctx context.Context, request *DescribeSubdomainAnalyticsRequest) (response *DescribeSubdomainAnalyticsResponse, err error)
DescribeSubdomainAnalytics This API is used to collect statistics on the DNS query volume of a subdomain. It helps you understand the traffic and time period distribution and allows you to view statistics in the last three months. It is available only for domains under a paid plan.
error code that may be returned:
FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" FAILEDOPERATION_DOMAINNOTINSERVICE = "FailedOperation.DomainNotInService" FAILEDOPERATION_TEMPORARYERROR = "FailedOperation.TemporaryError" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETERVALUE_DOMAINGRADEINVALID = "InvalidParameterValue.DomainGradeInvalid" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly"
func (*Client) ModifyDomainLock ¶
func (c *Client) ModifyDomainLock(request *ModifyDomainLockRequest) (response *ModifyDomainLockResponse, err error)
ModifyDomainLock This API is used to lock a domain.
error code that may be returned:
FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" FAILEDOPERATION_LOGINAREANOTALLOWED = "FailedOperation.LoginAreaNotAllowed" FAILEDOPERATION_LOGINFAILED = "FailedOperation.LoginFailed" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_DOMAINNOTALLOWEDLOCK = "InvalidParameter.DomainNotAllowedLock" INVALIDPARAMETER_LOCKDAYSINVALID = "InvalidParameter.LockDaysInvalid" INVALIDPARAMETER_LOGINTOKENIDERROR = "InvalidParameter.LoginTokenIdError" INVALIDPARAMETER_LOGINTOKENNOTEXISTS = "InvalidParameter.LoginTokenNotExists" INVALIDPARAMETER_LOGINTOKENVALIDATEFAILED = "InvalidParameter.LoginTokenValidateFailed" INVALIDPARAMETER_REQUESTIPLIMITED = "InvalidParameter.RequestIpLimited" INVALIDPARAMETER_UNREALNAMEUSER = "InvalidParameter.UnrealNameUser" INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIdInvalid" LIMITEXCEEDED_FAILEDLOGINLIMITEXCEEDED = "LimitExceeded.FailedLoginLimitExceeded" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" OPERATIONDENIED_NOTAGENT = "OperationDenied.NotAgent" OPERATIONDENIED_NOTMANAGEDUSER = "OperationDenied.NotManagedUser" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded"
func (*Client) ModifyDomainLockWithContext ¶
func (c *Client) ModifyDomainLockWithContext(ctx context.Context, request *ModifyDomainLockRequest) (response *ModifyDomainLockResponse, err error)
ModifyDomainLock This API is used to lock a domain.
error code that may be returned:
FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" FAILEDOPERATION_LOGINAREANOTALLOWED = "FailedOperation.LoginAreaNotAllowed" FAILEDOPERATION_LOGINFAILED = "FailedOperation.LoginFailed" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_DOMAINNOTALLOWEDLOCK = "InvalidParameter.DomainNotAllowedLock" INVALIDPARAMETER_LOCKDAYSINVALID = "InvalidParameter.LockDaysInvalid" INVALIDPARAMETER_LOGINTOKENIDERROR = "InvalidParameter.LoginTokenIdError" INVALIDPARAMETER_LOGINTOKENNOTEXISTS = "InvalidParameter.LoginTokenNotExists" INVALIDPARAMETER_LOGINTOKENVALIDATEFAILED = "InvalidParameter.LoginTokenValidateFailed" INVALIDPARAMETER_REQUESTIPLIMITED = "InvalidParameter.RequestIpLimited" INVALIDPARAMETER_UNREALNAMEUSER = "InvalidParameter.UnrealNameUser" INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIdInvalid" LIMITEXCEEDED_FAILEDLOGINLIMITEXCEEDED = "LimitExceeded.FailedLoginLimitExceeded" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" OPERATIONDENIED_NOTAGENT = "OperationDenied.NotAgent" OPERATIONDENIED_NOTMANAGEDUSER = "OperationDenied.NotManagedUser" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded"
func (*Client) ModifyDomainOwner ¶
func (c *Client) ModifyDomainOwner(request *ModifyDomainOwnerRequest) (response *ModifyDomainOwnerResponse, err error)
ModifyDomainOwner This API is used to transfer ownership of a domain.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" FAILEDOPERATION_DOMAINISVIP = "FailedOperation.DomainIsVip" FAILEDOPERATION_TRANSFERTOENTERPRISEDENIED = "FailedOperation.TransferToEnterpriseDenied" FAILEDOPERATION_TRANSFERTOPERSONDENIED = "FailedOperation.TransferToPersonDenied" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_EMAILINVALID = "InvalidParameter.EmailInvalid" INVALIDPARAMETER_EMAILORQQINVALID = "InvalidParameter.EmailOrQqInvalid" INVALIDPARAMETER_EMAILSAME = "InvalidParameter.EmailSame" INVALIDPARAMETER_OTHERACCOUNTUNREALNAME = "InvalidParameter.OtherAccountUnrealName" INVALIDPARAMETER_QCLOUDUININVALID = "InvalidParameter.QcloudUinInvalid" INVALIDPARAMETER_USERAREAINVALID = "InvalidParameter.UserAreaInvalid" INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly"
func (*Client) ModifyDomainOwnerWithContext ¶
func (c *Client) ModifyDomainOwnerWithContext(ctx context.Context, request *ModifyDomainOwnerRequest) (response *ModifyDomainOwnerResponse, err error)
ModifyDomainOwner This API is used to transfer ownership of a domain.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" FAILEDOPERATION_DOMAINISVIP = "FailedOperation.DomainIsVip" FAILEDOPERATION_TRANSFERTOENTERPRISEDENIED = "FailedOperation.TransferToEnterpriseDenied" FAILEDOPERATION_TRANSFERTOPERSONDENIED = "FailedOperation.TransferToPersonDenied" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_EMAILINVALID = "InvalidParameter.EmailInvalid" INVALIDPARAMETER_EMAILORQQINVALID = "InvalidParameter.EmailOrQqInvalid" INVALIDPARAMETER_EMAILSAME = "InvalidParameter.EmailSame" INVALIDPARAMETER_OTHERACCOUNTUNREALNAME = "InvalidParameter.OtherAccountUnrealName" INVALIDPARAMETER_QCLOUDUININVALID = "InvalidParameter.QcloudUinInvalid" INVALIDPARAMETER_USERAREAINVALID = "InvalidParameter.UserAreaInvalid" INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly"
func (*Client) ModifyDomainRemark ¶
func (c *Client) ModifyDomainRemark(request *ModifyDomainRemarkRequest) (response *ModifyDomainRemarkResponse, err error)
ModifyDomainRemark This API is used to set the remarks of a domain.
error code that may be returned:
FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" FAILEDOPERATION_LOGINAREANOTALLOWED = "FailedOperation.LoginAreaNotAllowed" FAILEDOPERATION_LOGINFAILED = "FailedOperation.LoginFailed" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_LOGINTOKENIDERROR = "InvalidParameter.LoginTokenIdError" INVALIDPARAMETER_LOGINTOKENNOTEXISTS = "InvalidParameter.LoginTokenNotExists" INVALIDPARAMETER_LOGINTOKENVALIDATEFAILED = "InvalidParameter.LoginTokenValidateFailed" INVALIDPARAMETER_REMARKTOOLONG = "InvalidParameter.RemarkTooLong" INVALIDPARAMETER_REQUESTIPLIMITED = "InvalidParameter.RequestIpLimited" INVALIDPARAMETER_UNREALNAMEUSER = "InvalidParameter.UnrealNameUser" INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIdInvalid" LIMITEXCEEDED_FAILEDLOGINLIMITEXCEEDED = "LimitExceeded.FailedLoginLimitExceeded" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" OPERATIONDENIED_NOTAGENT = "OperationDenied.NotAgent" OPERATIONDENIED_NOTMANAGEDUSER = "OperationDenied.NotManagedUser" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded"
func (*Client) ModifyDomainRemarkWithContext ¶
func (c *Client) ModifyDomainRemarkWithContext(ctx context.Context, request *ModifyDomainRemarkRequest) (response *ModifyDomainRemarkResponse, err error)
ModifyDomainRemark This API is used to set the remarks of a domain.
error code that may be returned:
FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" FAILEDOPERATION_LOGINAREANOTALLOWED = "FailedOperation.LoginAreaNotAllowed" FAILEDOPERATION_LOGINFAILED = "FailedOperation.LoginFailed" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_LOGINTOKENIDERROR = "InvalidParameter.LoginTokenIdError" INVALIDPARAMETER_LOGINTOKENNOTEXISTS = "InvalidParameter.LoginTokenNotExists" INVALIDPARAMETER_LOGINTOKENVALIDATEFAILED = "InvalidParameter.LoginTokenValidateFailed" INVALIDPARAMETER_REMARKTOOLONG = "InvalidParameter.RemarkTooLong" INVALIDPARAMETER_REQUESTIPLIMITED = "InvalidParameter.RequestIpLimited" INVALIDPARAMETER_UNREALNAMEUSER = "InvalidParameter.UnrealNameUser" INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIdInvalid" LIMITEXCEEDED_FAILEDLOGINLIMITEXCEEDED = "LimitExceeded.FailedLoginLimitExceeded" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" OPERATIONDENIED_NOTAGENT = "OperationDenied.NotAgent" OPERATIONDENIED_NOTMANAGEDUSER = "OperationDenied.NotManagedUser" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded"
func (*Client) ModifyDomainStatus ¶
func (c *Client) ModifyDomainStatus(request *ModifyDomainStatusRequest) (response *ModifyDomainStatusResponse, err error)
ModifyDomainStatus This API is used to modify the status of a domain.
error code that may be returned:
FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_TOOLSDOMAININVALID = "InvalidParameter.ToolsDomainInvalid" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain"
func (*Client) ModifyDomainStatusWithContext ¶
func (c *Client) ModifyDomainStatusWithContext(ctx context.Context, request *ModifyDomainStatusRequest) (response *ModifyDomainStatusResponse, err error)
ModifyDomainStatus This API is used to modify the status of a domain.
error code that may be returned:
FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_TOOLSDOMAININVALID = "InvalidParameter.ToolsDomainInvalid" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain"
func (*Client) ModifyDomainUnlock ¶
func (c *Client) ModifyDomainUnlock(request *ModifyDomainUnlockRequest) (response *ModifyDomainUnlockResponse, err error)
ModifyDomainUnlock This API is used to unlock a domain.
error code that may be returned:
FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" FAILEDOPERATION_LOGINAREANOTALLOWED = "FailedOperation.LoginAreaNotAllowed" FAILEDOPERATION_LOGINFAILED = "FailedOperation.LoginFailed" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_DOMAINISNOTLOCKED = "InvalidParameter.DomainIsNotlocked" INVALIDPARAMETER_LOGINTOKENIDERROR = "InvalidParameter.LoginTokenIdError" INVALIDPARAMETER_LOGINTOKENNOTEXISTS = "InvalidParameter.LoginTokenNotExists" INVALIDPARAMETER_LOGINTOKENVALIDATEFAILED = "InvalidParameter.LoginTokenValidateFailed" INVALIDPARAMETER_REQUESTIPLIMITED = "InvalidParameter.RequestIpLimited" INVALIDPARAMETER_UNLOCKCODEEXPIRED = "InvalidParameter.UnLockCodeExpired" INVALIDPARAMETER_UNLOCKCODEINVALID = "InvalidParameter.UnLockCodeInvalid" INVALIDPARAMETER_UNREALNAMEUSER = "InvalidParameter.UnrealNameUser" INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIdInvalid" LIMITEXCEEDED_FAILEDLOGINLIMITEXCEEDED = "LimitExceeded.FailedLoginLimitExceeded" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" OPERATIONDENIED_NOTAGENT = "OperationDenied.NotAgent" OPERATIONDENIED_NOTMANAGEDUSER = "OperationDenied.NotManagedUser" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded"
func (*Client) ModifyDomainUnlockWithContext ¶
func (c *Client) ModifyDomainUnlockWithContext(ctx context.Context, request *ModifyDomainUnlockRequest) (response *ModifyDomainUnlockResponse, err error)
ModifyDomainUnlock This API is used to unlock a domain.
error code that may be returned:
FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" FAILEDOPERATION_LOGINAREANOTALLOWED = "FailedOperation.LoginAreaNotAllowed" FAILEDOPERATION_LOGINFAILED = "FailedOperation.LoginFailed" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_DOMAINISNOTLOCKED = "InvalidParameter.DomainIsNotlocked" INVALIDPARAMETER_LOGINTOKENIDERROR = "InvalidParameter.LoginTokenIdError" INVALIDPARAMETER_LOGINTOKENNOTEXISTS = "InvalidParameter.LoginTokenNotExists" INVALIDPARAMETER_LOGINTOKENVALIDATEFAILED = "InvalidParameter.LoginTokenValidateFailed" INVALIDPARAMETER_REQUESTIPLIMITED = "InvalidParameter.RequestIpLimited" INVALIDPARAMETER_UNLOCKCODEEXPIRED = "InvalidParameter.UnLockCodeExpired" INVALIDPARAMETER_UNLOCKCODEINVALID = "InvalidParameter.UnLockCodeInvalid" INVALIDPARAMETER_UNREALNAMEUSER = "InvalidParameter.UnrealNameUser" INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIdInvalid" LIMITEXCEEDED_FAILEDLOGINLIMITEXCEEDED = "LimitExceeded.FailedLoginLimitExceeded" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" OPERATIONDENIED_NOTAGENT = "OperationDenied.NotAgent" OPERATIONDENIED_NOTMANAGEDUSER = "OperationDenied.NotManagedUser" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded"
func (*Client) ModifyRecord ¶
func (c *Client) ModifyRecord(request *ModifyRecordRequest) (response *ModifyRecordResponse, err error)
ModifyRecord This API is used to modify a record.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" FAILEDOPERATION_LOGINAREANOTALLOWED = "FailedOperation.LoginAreaNotAllowed" FAILEDOPERATION_LOGINFAILED = "FailedOperation.LoginFailed" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_ACCOUNTISBANNED = "InvalidParameter.AccountIsBanned" INVALIDPARAMETER_CUSTOMMESSAGE = "InvalidParameter.CustomMessage" INVALIDPARAMETER_DNSSECADDCNAMEERROR = "InvalidParameter.DnssecAddCnameError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_DOMAINNOTALLOWEDMODIFYRECORDS = "InvalidParameter.DomainNotAllowedModifyRecords" INVALIDPARAMETER_DOMAINNOTBEIAN = "InvalidParameter.DomainNotBeian" INVALIDPARAMETER_DOMAINRECORDEXIST = "InvalidParameter.DomainRecordExist" INVALIDPARAMETER_EMAILNOTVERIFIED = "InvalidParameter.EmailNotVerified" INVALIDPARAMETER_INVALIDWEIGHT = "InvalidParameter.InvalidWeight" INVALIDPARAMETER_LOGINTOKENIDERROR = "InvalidParameter.LoginTokenIdError" INVALIDPARAMETER_LOGINTOKENNOTEXISTS = "InvalidParameter.LoginTokenNotExists" INVALIDPARAMETER_LOGINTOKENVALIDATEFAILED = "InvalidParameter.LoginTokenValidateFailed" INVALIDPARAMETER_MOBILENOTVERIFIED = "InvalidParameter.MobileNotVerified" INVALIDPARAMETER_MXINVALID = "InvalidParameter.MxInvalid" INVALIDPARAMETER_RECORDIDINVALID = "InvalidParameter.RecordIdInvalid" INVALIDPARAMETER_RECORDLINEINVALID = "InvalidParameter.RecordLineInvalid" INVALIDPARAMETER_RECORDTYPEINVALID = "InvalidParameter.RecordTypeInvalid" INVALIDPARAMETER_RECORDVALUEINVALID = "InvalidParameter.RecordValueInvalid" INVALIDPARAMETER_RECORDVALUELENGTHINVALID = "InvalidParameter.RecordValueLengthInvalid" INVALIDPARAMETER_REQUESTIPLIMITED = "InvalidParameter.RequestIpLimited" INVALIDPARAMETER_SUBDOMAININVALID = "InvalidParameter.SubdomainInvalid" INVALIDPARAMETER_UNREALNAMEUSER = "InvalidParameter.UnrealNameUser" INVALIDPARAMETER_URLVALUEILLEGAL = "InvalidParameter.UrlValueIllegal" INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIdInvalid" LIMITEXCEEDED_AAAACOUNTLIMIT = "LimitExceeded.AAAACountLimit" LIMITEXCEEDED_ATNSRECORDLIMIT = "LimitExceeded.AtNsRecordLimit" LIMITEXCEEDED_FAILEDLOGINLIMITEXCEEDED = "LimitExceeded.FailedLoginLimitExceeded" LIMITEXCEEDED_HIDDENURLEXCEEDED = "LimitExceeded.HiddenUrlExceeded" LIMITEXCEEDED_NSCOUNTLIMIT = "LimitExceeded.NsCountLimit" LIMITEXCEEDED_RECORDTTLLIMIT = "LimitExceeded.RecordTtlLimit" LIMITEXCEEDED_SRVCOUNTLIMIT = "LimitExceeded.SrvCountLimit" LIMITEXCEEDED_SUBDOMAINLEVELLIMIT = "LimitExceeded.SubdomainLevelLimit" LIMITEXCEEDED_SUBDOMAINROLLLIMIT = "LimitExceeded.SubdomainRollLimit" LIMITEXCEEDED_SUBDOMAINWCARDLIMIT = "LimitExceeded.SubdomainWcardLimit" LIMITEXCEEDED_URLCOUNTLIMIT = "LimitExceeded.UrlCountLimit" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_IPINBLACKLISTNOTALLOWED = "OperationDenied.IPInBlacklistNotAllowed" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" OPERATIONDENIED_NOTADMIN = "OperationDenied.NotAdmin" OPERATIONDENIED_NOTAGENT = "OperationDenied.NotAgent" OPERATIONDENIED_NOTMANAGEDUSER = "OperationDenied.NotManagedUser" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded"
func (*Client) ModifyRecordBatch ¶
func (c *Client) ModifyRecordBatch(request *ModifyRecordBatchRequest) (response *ModifyRecordBatchResponse, err error)
ModifyRecordBatch This API is used to bulk modify records.
error code that may be returned:
FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_BATCHRECORDMODIFYACTIONERROR = "InvalidParameter.BatchRecordModifyActionError" INVALIDPARAMETER_BATCHRECORDMODIFYACTIONINVALIDVALUE = "InvalidParameter.BatchRecordModifyActionInvalidValue" INVALIDPARAMETER_BATCHRECORDREPLACEACTIONERROR = "InvalidParameter.BatchRecordReplaceActionError" INVALIDPARAMETER_BATCHTASKCOUNTLIMIT = "InvalidParameter.BatchTaskCountLimit" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_DOMAINSEMPTY = "InvalidParameter.DomainsEmpty" INVALIDPARAMETER_JOBGREATERTHANLIMIT = "InvalidParameter.JobGreaterThanLimit" INVALIDPARAMETER_MXINVALID = "InvalidParameter.MxInvalid" INVALIDPARAMETER_PARAMSILLEGAL = "InvalidParameter.ParamsIllegal" INVALIDPARAMETER_PARAMSMISSING = "InvalidParameter.ParamsMissing" INVALIDPARAMETER_RECORDTYPEINVALID = "InvalidParameter.RecordTypeInvalid" INVALIDPARAMETER_RECORDVALUEINVALID = "InvalidParameter.RecordValueInvalid" INVALIDPARAMETER_RECORDVALUELENGTHINVALID = "InvalidParameter.RecordValueLengthInvalid" INVALIDPARAMETER_RECORDSEMPTY = "InvalidParameter.RecordsEmpty" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_IPINBLACKLISTNOTALLOWED = "OperationDenied.IPInBlacklistNotAllowed" REQUESTLIMITEXCEEDED_BATCHTASKLIMIT = "RequestLimitExceeded.BatchTaskLimit" REQUESTLIMITEXCEEDED_CREATEDOMAINLIMIT = "RequestLimitExceeded.CreateDomainLimit" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded"
func (*Client) ModifyRecordBatchWithContext ¶
func (c *Client) ModifyRecordBatchWithContext(ctx context.Context, request *ModifyRecordBatchRequest) (response *ModifyRecordBatchResponse, err error)
ModifyRecordBatch This API is used to bulk modify records.
error code that may be returned:
FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_BATCHRECORDMODIFYACTIONERROR = "InvalidParameter.BatchRecordModifyActionError" INVALIDPARAMETER_BATCHRECORDMODIFYACTIONINVALIDVALUE = "InvalidParameter.BatchRecordModifyActionInvalidValue" INVALIDPARAMETER_BATCHRECORDREPLACEACTIONERROR = "InvalidParameter.BatchRecordReplaceActionError" INVALIDPARAMETER_BATCHTASKCOUNTLIMIT = "InvalidParameter.BatchTaskCountLimit" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_DOMAINSEMPTY = "InvalidParameter.DomainsEmpty" INVALIDPARAMETER_JOBGREATERTHANLIMIT = "InvalidParameter.JobGreaterThanLimit" INVALIDPARAMETER_MXINVALID = "InvalidParameter.MxInvalid" INVALIDPARAMETER_PARAMSILLEGAL = "InvalidParameter.ParamsIllegal" INVALIDPARAMETER_PARAMSMISSING = "InvalidParameter.ParamsMissing" INVALIDPARAMETER_RECORDTYPEINVALID = "InvalidParameter.RecordTypeInvalid" INVALIDPARAMETER_RECORDVALUEINVALID = "InvalidParameter.RecordValueInvalid" INVALIDPARAMETER_RECORDVALUELENGTHINVALID = "InvalidParameter.RecordValueLengthInvalid" INVALIDPARAMETER_RECORDSEMPTY = "InvalidParameter.RecordsEmpty" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_IPINBLACKLISTNOTALLOWED = "OperationDenied.IPInBlacklistNotAllowed" REQUESTLIMITEXCEEDED_BATCHTASKLIMIT = "RequestLimitExceeded.BatchTaskLimit" REQUESTLIMITEXCEEDED_CREATEDOMAINLIMIT = "RequestLimitExceeded.CreateDomainLimit" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded"
func (*Client) ModifyRecordGroup ¶
func (c *Client) ModifyRecordGroup(request *ModifyRecordGroupRequest) (response *ModifyRecordGroupResponse, err error)
ModifyRecordGroup This API is used to modify a record group.
error code that may be returned:
FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain"
func (*Client) ModifyRecordGroupWithContext ¶
func (c *Client) ModifyRecordGroupWithContext(ctx context.Context, request *ModifyRecordGroupRequest) (response *ModifyRecordGroupResponse, err error)
ModifyRecordGroup This API is used to modify a record group.
error code that may be returned:
FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain"
func (*Client) ModifyRecordRemark ¶
func (c *Client) ModifyRecordRemark(request *ModifyRecordRemarkRequest) (response *ModifyRecordRemarkResponse, err error)
ModifyRecordRemark This API is used to set the remarks of a record.
error code that may be returned:
FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" FAILEDOPERATION_LOGINAREANOTALLOWED = "FailedOperation.LoginAreaNotAllowed" FAILEDOPERATION_LOGINFAILED = "FailedOperation.LoginFailed" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_DOMAINNOTALLOWEDMODIFYRECORDS = "InvalidParameter.DomainNotAllowedModifyRecords" INVALIDPARAMETER_LOGINTOKENIDERROR = "InvalidParameter.LoginTokenIdError" INVALIDPARAMETER_LOGINTOKENNOTEXISTS = "InvalidParameter.LoginTokenNotExists" INVALIDPARAMETER_LOGINTOKENVALIDATEFAILED = "InvalidParameter.LoginTokenValidateFailed" INVALIDPARAMETER_RECORDIDINVALID = "InvalidParameter.RecordIdInvalid" INVALIDPARAMETER_REMARKLENGTHEXCEEDED = "InvalidParameter.RemarkLengthExceeded" INVALIDPARAMETER_REQUESTIPLIMITED = "InvalidParameter.RequestIpLimited" INVALIDPARAMETER_UNREALNAMEUSER = "InvalidParameter.UnrealNameUser" INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIdInvalid" LIMITEXCEEDED_FAILEDLOGINLIMITEXCEEDED = "LimitExceeded.FailedLoginLimitExceeded" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" OPERATIONDENIED_NOTADMIN = "OperationDenied.NotAdmin" OPERATIONDENIED_NOTAGENT = "OperationDenied.NotAgent" OPERATIONDENIED_NOTMANAGEDUSER = "OperationDenied.NotManagedUser" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded"
func (*Client) ModifyRecordRemarkWithContext ¶
func (c *Client) ModifyRecordRemarkWithContext(ctx context.Context, request *ModifyRecordRemarkRequest) (response *ModifyRecordRemarkResponse, err error)
ModifyRecordRemark This API is used to set the remarks of a record.
error code that may be returned:
FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" FAILEDOPERATION_LOGINAREANOTALLOWED = "FailedOperation.LoginAreaNotAllowed" FAILEDOPERATION_LOGINFAILED = "FailedOperation.LoginFailed" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_DOMAINNOTALLOWEDMODIFYRECORDS = "InvalidParameter.DomainNotAllowedModifyRecords" INVALIDPARAMETER_LOGINTOKENIDERROR = "InvalidParameter.LoginTokenIdError" INVALIDPARAMETER_LOGINTOKENNOTEXISTS = "InvalidParameter.LoginTokenNotExists" INVALIDPARAMETER_LOGINTOKENVALIDATEFAILED = "InvalidParameter.LoginTokenValidateFailed" INVALIDPARAMETER_RECORDIDINVALID = "InvalidParameter.RecordIdInvalid" INVALIDPARAMETER_REMARKLENGTHEXCEEDED = "InvalidParameter.RemarkLengthExceeded" INVALIDPARAMETER_REQUESTIPLIMITED = "InvalidParameter.RequestIpLimited" INVALIDPARAMETER_UNREALNAMEUSER = "InvalidParameter.UnrealNameUser" INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIdInvalid" LIMITEXCEEDED_FAILEDLOGINLIMITEXCEEDED = "LimitExceeded.FailedLoginLimitExceeded" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" OPERATIONDENIED_NOTADMIN = "OperationDenied.NotAdmin" OPERATIONDENIED_NOTAGENT = "OperationDenied.NotAgent" OPERATIONDENIED_NOTMANAGEDUSER = "OperationDenied.NotManagedUser" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded"
func (*Client) ModifyRecordStatus ¶
func (c *Client) ModifyRecordStatus(request *ModifyRecordStatusRequest) (response *ModifyRecordStatusResponse, err error)
ModifyRecordStatus This API is used to modify the DNS record status.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" FAILEDOPERATION_LOGINAREANOTALLOWED = "FailedOperation.LoginAreaNotAllowed" FAILEDOPERATION_LOGINFAILED = "FailedOperation.LoginFailed" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_CUSTOMMESSAGE = "InvalidParameter.CustomMessage" INVALIDPARAMETER_DNSSECADDCNAMEERROR = "InvalidParameter.DnssecAddCnameError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_DOMAINNOTALLOWEDMODIFYRECORDS = "InvalidParameter.DomainNotAllowedModifyRecords" INVALIDPARAMETER_DOMAINNOTBEIAN = "InvalidParameter.DomainNotBeian" INVALIDPARAMETER_DOMAINRECORDEXIST = "InvalidParameter.DomainRecordExist" INVALIDPARAMETER_EMAILNOTVERIFIED = "InvalidParameter.EmailNotVerified" INVALIDPARAMETER_LOGINTOKENIDERROR = "InvalidParameter.LoginTokenIdError" INVALIDPARAMETER_LOGINTOKENNOTEXISTS = "InvalidParameter.LoginTokenNotExists" INVALIDPARAMETER_LOGINTOKENVALIDATEFAILED = "InvalidParameter.LoginTokenValidateFailed" INVALIDPARAMETER_MOBILENOTVERIFIED = "InvalidParameter.MobileNotVerified" INVALIDPARAMETER_RECORDIDINVALID = "InvalidParameter.RecordIdInvalid" INVALIDPARAMETER_RECORDVALUEINVALID = "InvalidParameter.RecordValueInvalid" INVALIDPARAMETER_REQUESTIPLIMITED = "InvalidParameter.RequestIpLimited" INVALIDPARAMETER_SUBDOMAININVALID = "InvalidParameter.SubdomainInvalid" INVALIDPARAMETER_UNREALNAMEUSER = "InvalidParameter.UnrealNameUser" INVALIDPARAMETER_URLVALUEILLEGAL = "InvalidParameter.UrlValueIllegal" INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIdInvalid" LIMITEXCEEDED_AAAACOUNTLIMIT = "LimitExceeded.AAAACountLimit" LIMITEXCEEDED_ATNSRECORDLIMIT = "LimitExceeded.AtNsRecordLimit" LIMITEXCEEDED_FAILEDLOGINLIMITEXCEEDED = "LimitExceeded.FailedLoginLimitExceeded" LIMITEXCEEDED_HIDDENURLEXCEEDED = "LimitExceeded.HiddenUrlExceeded" LIMITEXCEEDED_NSCOUNTLIMIT = "LimitExceeded.NsCountLimit" LIMITEXCEEDED_SRVCOUNTLIMIT = "LimitExceeded.SrvCountLimit" LIMITEXCEEDED_SUBDOMAINLEVELLIMIT = "LimitExceeded.SubdomainLevelLimit" LIMITEXCEEDED_SUBDOMAINROLLLIMIT = "LimitExceeded.SubdomainRollLimit" LIMITEXCEEDED_SUBDOMAINWCARDLIMIT = "LimitExceeded.SubdomainWcardLimit" LIMITEXCEEDED_URLCOUNTLIMIT = "LimitExceeded.UrlCountLimit" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" OPERATIONDENIED_NOTADMIN = "OperationDenied.NotAdmin" OPERATIONDENIED_NOTAGENT = "OperationDenied.NotAgent" OPERATIONDENIED_NOTMANAGEDUSER = "OperationDenied.NotManagedUser" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded"
func (*Client) ModifyRecordStatusWithContext ¶
func (c *Client) ModifyRecordStatusWithContext(ctx context.Context, request *ModifyRecordStatusRequest) (response *ModifyRecordStatusResponse, err error)
ModifyRecordStatus This API is used to modify the DNS record status.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" FAILEDOPERATION_LOGINAREANOTALLOWED = "FailedOperation.LoginAreaNotAllowed" FAILEDOPERATION_LOGINFAILED = "FailedOperation.LoginFailed" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_CUSTOMMESSAGE = "InvalidParameter.CustomMessage" INVALIDPARAMETER_DNSSECADDCNAMEERROR = "InvalidParameter.DnssecAddCnameError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_DOMAINNOTALLOWEDMODIFYRECORDS = "InvalidParameter.DomainNotAllowedModifyRecords" INVALIDPARAMETER_DOMAINNOTBEIAN = "InvalidParameter.DomainNotBeian" INVALIDPARAMETER_DOMAINRECORDEXIST = "InvalidParameter.DomainRecordExist" INVALIDPARAMETER_EMAILNOTVERIFIED = "InvalidParameter.EmailNotVerified" INVALIDPARAMETER_LOGINTOKENIDERROR = "InvalidParameter.LoginTokenIdError" INVALIDPARAMETER_LOGINTOKENNOTEXISTS = "InvalidParameter.LoginTokenNotExists" INVALIDPARAMETER_LOGINTOKENVALIDATEFAILED = "InvalidParameter.LoginTokenValidateFailed" INVALIDPARAMETER_MOBILENOTVERIFIED = "InvalidParameter.MobileNotVerified" INVALIDPARAMETER_RECORDIDINVALID = "InvalidParameter.RecordIdInvalid" INVALIDPARAMETER_RECORDVALUEINVALID = "InvalidParameter.RecordValueInvalid" INVALIDPARAMETER_REQUESTIPLIMITED = "InvalidParameter.RequestIpLimited" INVALIDPARAMETER_SUBDOMAININVALID = "InvalidParameter.SubdomainInvalid" INVALIDPARAMETER_UNREALNAMEUSER = "InvalidParameter.UnrealNameUser" INVALIDPARAMETER_URLVALUEILLEGAL = "InvalidParameter.UrlValueIllegal" INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIdInvalid" LIMITEXCEEDED_AAAACOUNTLIMIT = "LimitExceeded.AAAACountLimit" LIMITEXCEEDED_ATNSRECORDLIMIT = "LimitExceeded.AtNsRecordLimit" LIMITEXCEEDED_FAILEDLOGINLIMITEXCEEDED = "LimitExceeded.FailedLoginLimitExceeded" LIMITEXCEEDED_HIDDENURLEXCEEDED = "LimitExceeded.HiddenUrlExceeded" LIMITEXCEEDED_NSCOUNTLIMIT = "LimitExceeded.NsCountLimit" LIMITEXCEEDED_SRVCOUNTLIMIT = "LimitExceeded.SrvCountLimit" LIMITEXCEEDED_SUBDOMAINLEVELLIMIT = "LimitExceeded.SubdomainLevelLimit" LIMITEXCEEDED_SUBDOMAINROLLLIMIT = "LimitExceeded.SubdomainRollLimit" LIMITEXCEEDED_SUBDOMAINWCARDLIMIT = "LimitExceeded.SubdomainWcardLimit" LIMITEXCEEDED_URLCOUNTLIMIT = "LimitExceeded.UrlCountLimit" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" OPERATIONDENIED_NOTADMIN = "OperationDenied.NotAdmin" OPERATIONDENIED_NOTAGENT = "OperationDenied.NotAgent" OPERATIONDENIED_NOTMANAGEDUSER = "OperationDenied.NotManagedUser" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded"
func (*Client) ModifyRecordToGroup ¶
func (c *Client) ModifyRecordToGroup(request *ModifyRecordToGroupRequest) (response *ModifyRecordToGroupResponse, err error)
ModifyRecordToGroup This API is used to add a record to a group.
error code that may be returned:
FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain"
func (*Client) ModifyRecordToGroupWithContext ¶
func (c *Client) ModifyRecordToGroupWithContext(ctx context.Context, request *ModifyRecordToGroupRequest) (response *ModifyRecordToGroupResponse, err error)
ModifyRecordToGroup This API is used to add a record to a group.
error code that may be returned:
FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain"
func (*Client) ModifyRecordWithContext ¶
func (c *Client) ModifyRecordWithContext(ctx context.Context, request *ModifyRecordRequest) (response *ModifyRecordResponse, err error)
ModifyRecord This API is used to modify a record.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINISLOCKED = "FailedOperation.DomainIsLocked" FAILEDOPERATION_DOMAINISSPAM = "FailedOperation.DomainIsSpam" FAILEDOPERATION_LOGINAREANOTALLOWED = "FailedOperation.LoginAreaNotAllowed" FAILEDOPERATION_LOGINFAILED = "FailedOperation.LoginFailed" FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnknowError" INVALIDPARAMETER_ACCOUNTISBANNED = "InvalidParameter.AccountIsBanned" INVALIDPARAMETER_CUSTOMMESSAGE = "InvalidParameter.CustomMessage" INVALIDPARAMETER_DNSSECADDCNAMEERROR = "InvalidParameter.DnssecAddCnameError" INVALIDPARAMETER_DOMAINIDINVALID = "InvalidParameter.DomainIdInvalid" INVALIDPARAMETER_DOMAININVALID = "InvalidParameter.DomainInvalid" INVALIDPARAMETER_DOMAINISALIASER = "InvalidParameter.DomainIsAliaser" INVALIDPARAMETER_DOMAINNOTALLOWEDMODIFYRECORDS = "InvalidParameter.DomainNotAllowedModifyRecords" INVALIDPARAMETER_DOMAINNOTBEIAN = "InvalidParameter.DomainNotBeian" INVALIDPARAMETER_DOMAINRECORDEXIST = "InvalidParameter.DomainRecordExist" INVALIDPARAMETER_EMAILNOTVERIFIED = "InvalidParameter.EmailNotVerified" INVALIDPARAMETER_INVALIDWEIGHT = "InvalidParameter.InvalidWeight" INVALIDPARAMETER_LOGINTOKENIDERROR = "InvalidParameter.LoginTokenIdError" INVALIDPARAMETER_LOGINTOKENNOTEXISTS = "InvalidParameter.LoginTokenNotExists" INVALIDPARAMETER_LOGINTOKENVALIDATEFAILED = "InvalidParameter.LoginTokenValidateFailed" INVALIDPARAMETER_MOBILENOTVERIFIED = "InvalidParameter.MobileNotVerified" INVALIDPARAMETER_MXINVALID = "InvalidParameter.MxInvalid" INVALIDPARAMETER_RECORDIDINVALID = "InvalidParameter.RecordIdInvalid" INVALIDPARAMETER_RECORDLINEINVALID = "InvalidParameter.RecordLineInvalid" INVALIDPARAMETER_RECORDTYPEINVALID = "InvalidParameter.RecordTypeInvalid" INVALIDPARAMETER_RECORDVALUEINVALID = "InvalidParameter.RecordValueInvalid" INVALIDPARAMETER_RECORDVALUELENGTHINVALID = "InvalidParameter.RecordValueLengthInvalid" INVALIDPARAMETER_REQUESTIPLIMITED = "InvalidParameter.RequestIpLimited" INVALIDPARAMETER_SUBDOMAININVALID = "InvalidParameter.SubdomainInvalid" INVALIDPARAMETER_UNREALNAMEUSER = "InvalidParameter.UnrealNameUser" INVALIDPARAMETER_URLVALUEILLEGAL = "InvalidParameter.UrlValueIllegal" INVALIDPARAMETER_USERNOTEXISTS = "InvalidParameter.UserNotExists" INVALIDPARAMETERVALUE_DOMAINNOTEXISTS = "InvalidParameterValue.DomainNotExists" INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIdInvalid" LIMITEXCEEDED_AAAACOUNTLIMIT = "LimitExceeded.AAAACountLimit" LIMITEXCEEDED_ATNSRECORDLIMIT = "LimitExceeded.AtNsRecordLimit" LIMITEXCEEDED_FAILEDLOGINLIMITEXCEEDED = "LimitExceeded.FailedLoginLimitExceeded" LIMITEXCEEDED_HIDDENURLEXCEEDED = "LimitExceeded.HiddenUrlExceeded" LIMITEXCEEDED_NSCOUNTLIMIT = "LimitExceeded.NsCountLimit" LIMITEXCEEDED_RECORDTTLLIMIT = "LimitExceeded.RecordTtlLimit" LIMITEXCEEDED_SRVCOUNTLIMIT = "LimitExceeded.SrvCountLimit" LIMITEXCEEDED_SUBDOMAINLEVELLIMIT = "LimitExceeded.SubdomainLevelLimit" LIMITEXCEEDED_SUBDOMAINROLLLIMIT = "LimitExceeded.SubdomainRollLimit" LIMITEXCEEDED_SUBDOMAINWCARDLIMIT = "LimitExceeded.SubdomainWcardLimit" LIMITEXCEEDED_URLCOUNTLIMIT = "LimitExceeded.UrlCountLimit" OPERATIONDENIED_DOMAINOWNERALLOWEDONLY = "OperationDenied.DomainOwnerAllowedOnly" OPERATIONDENIED_IPINBLACKLISTNOTALLOWED = "OperationDenied.IPInBlacklistNotAllowed" OPERATIONDENIED_NOPERMISSIONTOOPERATEDOMAIN = "OperationDenied.NoPermissionToOperateDomain" OPERATIONDENIED_NOTADMIN = "OperationDenied.NotAdmin" OPERATIONDENIED_NOTAGENT = "OperationDenied.NotAgent" OPERATIONDENIED_NOTMANAGEDUSER = "OperationDenied.NotManagedUser" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDED = "RequestLimitExceeded.RequestLimitExceeded"
type CreateDomainAliasRequest ¶
type CreateDomainAliasRequest struct { *tchttp.BaseRequest // Domain alias DomainAlias *string `json:"DomainAlias,omitempty" name:"DomainAlias"` // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *int64 `json:"DomainId,omitempty" name:"DomainId"` }
func NewCreateDomainAliasRequest ¶
func NewCreateDomainAliasRequest() (request *CreateDomainAliasRequest)
func (*CreateDomainAliasRequest) FromJsonString ¶
func (r *CreateDomainAliasRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDomainAliasRequest) ToJsonString ¶
func (r *CreateDomainAliasRequest) ToJsonString() string
type CreateDomainAliasRequestParams ¶
type CreateDomainAliasRequestParams struct { // Domain alias DomainAlias *string `json:"DomainAlias,omitempty" name:"DomainAlias"` // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *int64 `json:"DomainId,omitempty" name:"DomainId"` }
Predefined struct for user
type CreateDomainAliasResponse ¶
type CreateDomainAliasResponse struct { *tchttp.BaseResponse Response *CreateDomainAliasResponseParams `json:"Response"` }
func NewCreateDomainAliasResponse ¶
func NewCreateDomainAliasResponse() (response *CreateDomainAliasResponse)
func (*CreateDomainAliasResponse) FromJsonString ¶
func (r *CreateDomainAliasResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDomainAliasResponse) ToJsonString ¶
func (r *CreateDomainAliasResponse) ToJsonString() string
type CreateDomainAliasResponseParams ¶
type CreateDomainAliasResponseParams struct { // Domain alias ID DomainAliasId *int64 `json:"DomainAliasId,omitempty" name:"DomainAliasId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateDomainBatchDetail ¶
type CreateDomainBatchDetail struct { // See `RecordInfoBatch`. // Note: This field may return null, indicating that no valid values can be obtained. RecordList []*CreateDomainBatchRecord `json:"RecordList,omitempty" name:"RecordList"` // Task ID Id *uint64 `json:"Id,omitempty" name:"Id"` // Domain // Note: This field may return null, indicating that no valid values can be obtained. Domain *string `json:"Domain,omitempty" name:"Domain"` // Domain level // Note: This field may return null, indicating that no valid values can be obtained. DomainGrade *string `json:"DomainGrade,omitempty" name:"DomainGrade"` // Error message // Note: This field may return null, indicating that no valid values can be obtained. ErrMsg *string `json:"ErrMsg,omitempty" name:"ErrMsg"` // Task running status // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitempty" name:"Status"` // Operation type // Note: This field may return null, indicating that no valid values can be obtained. Operation *string `json:"Operation,omitempty" name:"Operation"` }
type CreateDomainBatchRecord ¶
type CreateDomainBatchRecord struct { // Subdomain (host record). // Note: This field may return null, indicating that no valid values can be obtained. SubDomain *string `json:"SubDomain,omitempty" name:"SubDomain"` // Record type. For more information, see the `DescribeRecordType` API. // Note: This field may return null, indicating that no valid values can be obtained. RecordType *string `json:"RecordType,omitempty" name:"RecordType"` // Split zone of the DNS record. For more information, see the `DescribeRecordLineList` API. // Note: This field may return null, indicating that no valid values can be obtained. RecordLine *string `json:"RecordLine,omitempty" name:"RecordLine"` // Record value // Note: This field may return null, indicating that no valid values can be obtained. Value *string `json:"Value,omitempty" name:"Value"` // TTL value of the record // Note: This field may return null, indicating that no valid values can be obtained. TTL *uint64 `json:"TTL,omitempty" name:"TTL"` // Record adding status // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitempty" name:"Status"` // Operation type // Note: This field may return null, indicating that no valid values can be obtained. Operation *string `json:"Operation,omitempty" name:"Operation"` // Error message // Note: This field may return null, indicating that no valid values can be obtained. ErrMsg *string `json:"ErrMsg,omitempty" name:"ErrMsg"` // ID of the record in the list Id *uint64 `json:"Id,omitempty" name:"Id"` }
type CreateDomainBatchRequest ¶
type CreateDomainBatchRequest struct { *tchttp.BaseRequest // Domain array DomainList []*string `json:"DomainList,omitempty" name:"DomainList"` // Add A records of @ and www for each domain with the record value of the IP. If this parameter is not passed in or is set to an empty string or null, only the domain but not the records will be added. RecordValue *string `json:"RecordValue,omitempty" name:"RecordValue"` }
func NewCreateDomainBatchRequest ¶
func NewCreateDomainBatchRequest() (request *CreateDomainBatchRequest)
func (*CreateDomainBatchRequest) FromJsonString ¶
func (r *CreateDomainBatchRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDomainBatchRequest) ToJsonString ¶
func (r *CreateDomainBatchRequest) ToJsonString() string
type CreateDomainBatchRequestParams ¶
type CreateDomainBatchRequestParams struct { // Domain array DomainList []*string `json:"DomainList,omitempty" name:"DomainList"` // Add A records of @ and www for each domain with the record value of the IP. If this parameter is not passed in or is set to an empty string or null, only the domain but not the records will be added. RecordValue *string `json:"RecordValue,omitempty" name:"RecordValue"` }
Predefined struct for user
type CreateDomainBatchResponse ¶
type CreateDomainBatchResponse struct { *tchttp.BaseResponse Response *CreateDomainBatchResponseParams `json:"Response"` }
func NewCreateDomainBatchResponse ¶
func NewCreateDomainBatchResponse() (response *CreateDomainBatchResponse)
func (*CreateDomainBatchResponse) FromJsonString ¶
func (r *CreateDomainBatchResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDomainBatchResponse) ToJsonString ¶
func (r *CreateDomainBatchResponse) ToJsonString() string
type CreateDomainBatchResponseParams ¶
type CreateDomainBatchResponseParams struct { // Information of the bulk added domains DetailList []*CreateDomainBatchDetail `json:"DetailList,omitempty" name:"DetailList"` // Bulk task ID JobId *uint64 `json:"JobId,omitempty" name:"JobId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateDomainGroupRequest ¶
type CreateDomainGroupRequest struct { *tchttp.BaseRequest // Domain group GroupName *string `json:"GroupName,omitempty" name:"GroupName"` }
func NewCreateDomainGroupRequest ¶
func NewCreateDomainGroupRequest() (request *CreateDomainGroupRequest)
func (*CreateDomainGroupRequest) FromJsonString ¶
func (r *CreateDomainGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDomainGroupRequest) ToJsonString ¶
func (r *CreateDomainGroupRequest) ToJsonString() string
type CreateDomainGroupRequestParams ¶
type CreateDomainGroupRequestParams struct { // Domain group GroupName *string `json:"GroupName,omitempty" name:"GroupName"` }
Predefined struct for user
type CreateDomainGroupResponse ¶
type CreateDomainGroupResponse struct { *tchttp.BaseResponse Response *CreateDomainGroupResponseParams `json:"Response"` }
func NewCreateDomainGroupResponse ¶
func NewCreateDomainGroupResponse() (response *CreateDomainGroupResponse)
func (*CreateDomainGroupResponse) FromJsonString ¶
func (r *CreateDomainGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDomainGroupResponse) ToJsonString ¶
func (r *CreateDomainGroupResponse) ToJsonString() string
type CreateDomainGroupResponseParams ¶
type CreateDomainGroupResponseParams struct { // Domain group ID GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateDomainRequest ¶
type CreateDomainRequest struct { *tchttp.BaseRequest // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The group ID of the domain. You can view the group information of this domain via the `DescribeDomainGroupList` API. GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"` // Whether the domain is starred. Valid values: yes, no. IsMark *string `json:"IsMark,omitempty" name:"IsMark"` }
func NewCreateDomainRequest ¶
func NewCreateDomainRequest() (request *CreateDomainRequest)
func (*CreateDomainRequest) FromJsonString ¶
func (r *CreateDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDomainRequest) ToJsonString ¶
func (r *CreateDomainRequest) ToJsonString() string
type CreateDomainRequestParams ¶
type CreateDomainRequestParams struct { // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The group ID of the domain. You can view the group information of this domain via the `DescribeDomainGroupList` API. GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"` // Whether the domain is starred. Valid values: yes, no. IsMark *string `json:"IsMark,omitempty" name:"IsMark"` }
Predefined struct for user
type CreateDomainResponse ¶
type CreateDomainResponse struct { *tchttp.BaseResponse Response *CreateDomainResponseParams `json:"Response"` }
func NewCreateDomainResponse ¶
func NewCreateDomainResponse() (response *CreateDomainResponse)
func (*CreateDomainResponse) FromJsonString ¶
func (r *CreateDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDomainResponse) ToJsonString ¶
func (r *CreateDomainResponse) ToJsonString() string
type CreateDomainResponseParams ¶
type CreateDomainResponseParams struct { // Domain information DomainInfo *DomainCreateInfo `json:"DomainInfo,omitempty" name:"DomainInfo"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateRecordBatchDetail ¶
type CreateRecordBatchDetail struct { // See `RecordInfoBatch`. // Note: This field may return null, indicating that no valid values can be obtained. RecordList []*CreateRecordBatchRecord `json:"RecordList,omitempty" name:"RecordList"` // Task ID Id *uint64 `json:"Id,omitempty" name:"Id"` // Domain // Note: This field may return null, indicating that no valid values can be obtained. Domain *string `json:"Domain,omitempty" name:"Domain"` // Domain level // Note: This field may return null, indicating that no valid values can be obtained. DomainGrade *string `json:"DomainGrade,omitempty" name:"DomainGrade"` // Error message // Note: This field may return null, indicating that no valid values can be obtained. ErrMsg *string `json:"ErrMsg,omitempty" name:"ErrMsg"` // Task running status // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitempty" name:"Status"` // Operation type // Note: This field may return null, indicating that no valid values can be obtained. Operation *string `json:"Operation,omitempty" name:"Operation"` // Domain ID // Note: This field may return null, indicating that no valid values can be obtained. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
type CreateRecordBatchRecord ¶
type CreateRecordBatchRecord struct { // Subdomain (host record). // Note: This field may return null, indicating that no valid values can be obtained. SubDomain *string `json:"SubDomain,omitempty" name:"SubDomain"` // Record type. For more information, see the `DescribeRecordType` API. // Note: This field may return null, indicating that no valid values can be obtained. RecordType *string `json:"RecordType,omitempty" name:"RecordType"` // Split zone of the DNS record. For more information, see the `DescribeRecordLineList` API. // Note: This field may return null, indicating that no valid values can be obtained. RecordLine *string `json:"RecordLine,omitempty" name:"RecordLine"` // Record value // Note: This field may return null, indicating that no valid values can be obtained. Value *string `json:"Value,omitempty" name:"Value"` // TTL value of the record // Note: This field may return null, indicating that no valid values can be obtained. TTL *uint64 `json:"TTL,omitempty" name:"TTL"` // Record adding status // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitempty" name:"Status"` // Operation type // Note: This field may return null, indicating that no valid values can be obtained. Operation *string `json:"Operation,omitempty" name:"Operation"` // Error message // Note: This field may return null, indicating that no valid values can be obtained. ErrMsg *string `json:"ErrMsg,omitempty" name:"ErrMsg"` // ID of the record in the list Id *uint64 `json:"Id,omitempty" name:"Id"` // MX weight of the record // Note: This field may return null, indicating that no valid values can be obtained. MX *uint64 `json:"MX,omitempty" name:"MX"` }
type CreateRecordBatchRequest ¶
type CreateRecordBatchRequest struct { *tchttp.BaseRequest // Domain ID. Separate multiple ones by comma. DomainIdList []*string `json:"DomainIdList,omitempty" name:"DomainIdList"` // Record array RecordList []*AddRecordBatch `json:"RecordList,omitempty" name:"RecordList"` }
func NewCreateRecordBatchRequest ¶
func NewCreateRecordBatchRequest() (request *CreateRecordBatchRequest)
func (*CreateRecordBatchRequest) FromJsonString ¶
func (r *CreateRecordBatchRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRecordBatchRequest) ToJsonString ¶
func (r *CreateRecordBatchRequest) ToJsonString() string
type CreateRecordBatchRequestParams ¶
type CreateRecordBatchRequestParams struct { // Domain ID. Separate multiple ones by comma. DomainIdList []*string `json:"DomainIdList,omitempty" name:"DomainIdList"` // Record array RecordList []*AddRecordBatch `json:"RecordList,omitempty" name:"RecordList"` }
Predefined struct for user
type CreateRecordBatchResponse ¶
type CreateRecordBatchResponse struct { *tchttp.BaseResponse Response *CreateRecordBatchResponseParams `json:"Response"` }
func NewCreateRecordBatchResponse ¶
func NewCreateRecordBatchResponse() (response *CreateRecordBatchResponse)
func (*CreateRecordBatchResponse) FromJsonString ¶
func (r *CreateRecordBatchResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRecordBatchResponse) ToJsonString ¶
func (r *CreateRecordBatchResponse) ToJsonString() string
type CreateRecordBatchResponseParams ¶
type CreateRecordBatchResponseParams struct { // Information of the bulk added domains DetailList []*CreateRecordBatchDetail `json:"DetailList,omitempty" name:"DetailList"` // Bulk task ID JobId *uint64 `json:"JobId,omitempty" name:"JobId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateRecordGroupRequest ¶
type CreateRecordGroupRequest struct { *tchttp.BaseRequest // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // Group name GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
func NewCreateRecordGroupRequest ¶
func NewCreateRecordGroupRequest() (request *CreateRecordGroupRequest)
func (*CreateRecordGroupRequest) FromJsonString ¶
func (r *CreateRecordGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRecordGroupRequest) ToJsonString ¶
func (r *CreateRecordGroupRequest) ToJsonString() string
type CreateRecordGroupRequestParams ¶
type CreateRecordGroupRequestParams struct { // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // Group name GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
Predefined struct for user
type CreateRecordGroupResponse ¶
type CreateRecordGroupResponse struct { *tchttp.BaseResponse Response *CreateRecordGroupResponseParams `json:"Response"` }
func NewCreateRecordGroupResponse ¶
func NewCreateRecordGroupResponse() (response *CreateRecordGroupResponse)
func (*CreateRecordGroupResponse) FromJsonString ¶
func (r *CreateRecordGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRecordGroupResponse) ToJsonString ¶
func (r *CreateRecordGroupResponse) ToJsonString() string
type CreateRecordGroupResponseParams ¶
type CreateRecordGroupResponseParams struct { // New group ID GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateRecordRequest ¶
type CreateRecordRequest struct { *tchttp.BaseRequest // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // Record type, which is obtained through the record type API. The value contains uppercase letters, such as `A`. RecordType *string `json:"RecordType,omitempty" name:"RecordType"` // Record split zone, which is obtained through the record split zone API. RecordLine *string `json:"RecordLine,omitempty" name:"RecordLine"` // Record value, such as `IP : 200.200.200.200`, `CNAME : cname.dnspod.com`, and `MX : mail.dnspod.com`. Value *string `json:"Value,omitempty" name:"Value"` // Domain ID. The `DomainId` parameter has a higher priority than `Domain`. If `DomainId` is passed in, `Domain` will be ignored. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` // Host record such as `www`. If it is not passed in, it will be `@` by default. SubDomain *string `json:"SubDomain,omitempty" name:"SubDomain"` // Split zone ID, which is obtained through the record split zone API. The value is a string such as `10=1`. The `RecordLineId` parameter has a higher priority than `RecordLine`. If both of them are passed in, `RecordLineId` will be used first. RecordLineId *string `json:"RecordLineId,omitempty" name:"RecordLineId"` // MX priority, which is required for an MX record and will take effect if the record type is MX. Value range: 1–20. MX *uint64 `json:"MX,omitempty" name:"MX"` // TTL. Value range: 1–604800. The minimum value varies by domain level. TTL *uint64 `json:"TTL,omitempty" name:"TTL"` // Weight information, which is an integer between 0 and 100. It is supported only for enterprise VIP domains. `0` indicates not to pass in this parameter, i.e., not to set the weight. Weight *uint64 `json:"Weight,omitempty" name:"Weight"` // Initial status of the record. Valid values: ENABLE, DISABLE. Default value: ENABLE. If `DISABLE` is passed in, the DNS record won't take effect, and the limit on round-robin DNS won't be verified. Status *string `json:"Status,omitempty" name:"Status"` }
func NewCreateRecordRequest ¶
func NewCreateRecordRequest() (request *CreateRecordRequest)
func (*CreateRecordRequest) FromJsonString ¶
func (r *CreateRecordRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRecordRequest) ToJsonString ¶
func (r *CreateRecordRequest) ToJsonString() string
type CreateRecordRequestParams ¶
type CreateRecordRequestParams struct { // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // Record type, which is obtained through the record type API. The value contains uppercase letters, such as `A`. RecordType *string `json:"RecordType,omitempty" name:"RecordType"` // Record split zone, which is obtained through the record split zone API. RecordLine *string `json:"RecordLine,omitempty" name:"RecordLine"` // Record value, such as `IP : 200.200.200.200`, `CNAME : cname.dnspod.com`, and `MX : mail.dnspod.com`. Value *string `json:"Value,omitempty" name:"Value"` // Domain ID. The `DomainId` parameter has a higher priority than `Domain`. If `DomainId` is passed in, `Domain` will be ignored. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` // Host record such as `www`. If it is not passed in, it will be `@` by default. SubDomain *string `json:"SubDomain,omitempty" name:"SubDomain"` // Split zone ID, which is obtained through the record split zone API. The value is a string such as `10=1`. The `RecordLineId` parameter has a higher priority than `RecordLine`. If both of them are passed in, `RecordLineId` will be used first. RecordLineId *string `json:"RecordLineId,omitempty" name:"RecordLineId"` // MX priority, which is required for an MX record and will take effect if the record type is MX. Value range: 1–20. MX *uint64 `json:"MX,omitempty" name:"MX"` // TTL. Value range: 1–604800. The minimum value varies by domain level. TTL *uint64 `json:"TTL,omitempty" name:"TTL"` // Weight information, which is an integer between 0 and 100. It is supported only for enterprise VIP domains. `0` indicates not to pass in this parameter, i.e., not to set the weight. Weight *uint64 `json:"Weight,omitempty" name:"Weight"` // Initial status of the record. Valid values: ENABLE, DISABLE. Default value: ENABLE. If `DISABLE` is passed in, the DNS record won't take effect, and the limit on round-robin DNS won't be verified. Status *string `json:"Status,omitempty" name:"Status"` }
Predefined struct for user
type CreateRecordResponse ¶
type CreateRecordResponse struct { *tchttp.BaseResponse Response *CreateRecordResponseParams `json:"Response"` }
func NewCreateRecordResponse ¶
func NewCreateRecordResponse() (response *CreateRecordResponse)
func (*CreateRecordResponse) FromJsonString ¶
func (r *CreateRecordResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRecordResponse) ToJsonString ¶
func (r *CreateRecordResponse) ToJsonString() string
type CreateRecordResponseParams ¶
type CreateRecordResponseParams struct { // Record ID RecordId *uint64 `json:"RecordId,omitempty" name:"RecordId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteDomainAliasRequest ¶
type DeleteDomainAliasRequest struct { *tchttp.BaseRequest // Domain alias ID. You can view all domain aliases and their IDs via the `DescribeDomainAliasList` API. DomainAliasId *int64 `json:"DomainAliasId,omitempty" name:"DomainAliasId"` // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *int64 `json:"DomainId,omitempty" name:"DomainId"` }
func NewDeleteDomainAliasRequest ¶
func NewDeleteDomainAliasRequest() (request *DeleteDomainAliasRequest)
func (*DeleteDomainAliasRequest) FromJsonString ¶
func (r *DeleteDomainAliasRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDomainAliasRequest) ToJsonString ¶
func (r *DeleteDomainAliasRequest) ToJsonString() string
type DeleteDomainAliasRequestParams ¶
type DeleteDomainAliasRequestParams struct { // Domain alias ID. You can view all domain aliases and their IDs via the `DescribeDomainAliasList` API. DomainAliasId *int64 `json:"DomainAliasId,omitempty" name:"DomainAliasId"` // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *int64 `json:"DomainId,omitempty" name:"DomainId"` }
Predefined struct for user
type DeleteDomainAliasResponse ¶
type DeleteDomainAliasResponse struct { *tchttp.BaseResponse Response *DeleteDomainAliasResponseParams `json:"Response"` }
func NewDeleteDomainAliasResponse ¶
func NewDeleteDomainAliasResponse() (response *DeleteDomainAliasResponse)
func (*DeleteDomainAliasResponse) FromJsonString ¶
func (r *DeleteDomainAliasResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDomainAliasResponse) ToJsonString ¶
func (r *DeleteDomainAliasResponse) ToJsonString() string
type DeleteDomainAliasResponseParams ¶
type DeleteDomainAliasResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteDomainBatchDetail ¶
type DeleteDomainBatchDetail struct { // The domain ID. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` // The domain name. Domain *string `json:"Domain,omitempty" name:"Domain"` // The error message. // Note: This field may return null, indicating that no valid values can be obtained. Error *string `json:"Error,omitempty" name:"Error"` // The domain deletion status. Status *string `json:"Status,omitempty" name:"Status"` // The operation. Operation *string `json:"Operation,omitempty" name:"Operation"` }
type DeleteDomainBatchRequest ¶
type DeleteDomainBatchRequest struct { *tchttp.BaseRequest // The domain array. DomainList []*string `json:"DomainList,omitempty" name:"DomainList"` }
func NewDeleteDomainBatchRequest ¶
func NewDeleteDomainBatchRequest() (request *DeleteDomainBatchRequest)
func (*DeleteDomainBatchRequest) FromJsonString ¶
func (r *DeleteDomainBatchRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDomainBatchRequest) ToJsonString ¶
func (r *DeleteDomainBatchRequest) ToJsonString() string
type DeleteDomainBatchRequestParams ¶
type DeleteDomainBatchRequestParams struct { // The domain array. DomainList []*string `json:"DomainList,omitempty" name:"DomainList"` }
Predefined struct for user
type DeleteDomainBatchResponse ¶
type DeleteDomainBatchResponse struct { *tchttp.BaseResponse Response *DeleteDomainBatchResponseParams `json:"Response"` }
func NewDeleteDomainBatchResponse ¶
func NewDeleteDomainBatchResponse() (response *DeleteDomainBatchResponse)
func (*DeleteDomainBatchResponse) FromJsonString ¶
func (r *DeleteDomainBatchResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDomainBatchResponse) ToJsonString ¶
func (r *DeleteDomainBatchResponse) ToJsonString() string
type DeleteDomainBatchResponseParams ¶
type DeleteDomainBatchResponseParams struct { // The task ID. JobId *uint64 `json:"JobId,omitempty" name:"JobId"` // The array of task details. DetailList []*DeleteDomainBatchDetail `json:"DetailList,omitempty" name:"DetailList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteDomainRequest ¶
type DeleteDomainRequest struct { *tchttp.BaseRequest // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
func NewDeleteDomainRequest ¶
func NewDeleteDomainRequest() (request *DeleteDomainRequest)
func (*DeleteDomainRequest) FromJsonString ¶
func (r *DeleteDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDomainRequest) ToJsonString ¶
func (r *DeleteDomainRequest) ToJsonString() string
type DeleteDomainRequestParams ¶
type DeleteDomainRequestParams struct { // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
Predefined struct for user
type DeleteDomainResponse ¶
type DeleteDomainResponse struct { *tchttp.BaseResponse Response *DeleteDomainResponseParams `json:"Response"` }
func NewDeleteDomainResponse ¶
func NewDeleteDomainResponse() (response *DeleteDomainResponse)
func (*DeleteDomainResponse) FromJsonString ¶
func (r *DeleteDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDomainResponse) ToJsonString ¶
func (r *DeleteDomainResponse) ToJsonString() string
type DeleteDomainResponseParams ¶
type DeleteDomainResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteRecordGroupRequest ¶
type DeleteRecordGroupRequest struct { *tchttp.BaseRequest // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // Group ID GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
func NewDeleteRecordGroupRequest ¶
func NewDeleteRecordGroupRequest() (request *DeleteRecordGroupRequest)
func (*DeleteRecordGroupRequest) FromJsonString ¶
func (r *DeleteRecordGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRecordGroupRequest) ToJsonString ¶
func (r *DeleteRecordGroupRequest) ToJsonString() string
type DeleteRecordGroupRequestParams ¶
type DeleteRecordGroupRequestParams struct { // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // Group ID GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
Predefined struct for user
type DeleteRecordGroupResponse ¶
type DeleteRecordGroupResponse struct { *tchttp.BaseResponse Response *DeleteRecordGroupResponseParams `json:"Response"` }
func NewDeleteRecordGroupResponse ¶
func NewDeleteRecordGroupResponse() (response *DeleteRecordGroupResponse)
func (*DeleteRecordGroupResponse) FromJsonString ¶
func (r *DeleteRecordGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRecordGroupResponse) ToJsonString ¶
func (r *DeleteRecordGroupResponse) ToJsonString() string
type DeleteRecordGroupResponseParams ¶
type DeleteRecordGroupResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteRecordRequest ¶
type DeleteRecordRequest struct { *tchttp.BaseRequest // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The record ID. You can view all DNS records and their IDs via the `DescribeRecordList` API. RecordId *uint64 `json:"RecordId,omitempty" name:"RecordId"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
func NewDeleteRecordRequest ¶
func NewDeleteRecordRequest() (request *DeleteRecordRequest)
func (*DeleteRecordRequest) FromJsonString ¶
func (r *DeleteRecordRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRecordRequest) ToJsonString ¶
func (r *DeleteRecordRequest) ToJsonString() string
type DeleteRecordRequestParams ¶
type DeleteRecordRequestParams struct { // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The record ID. You can view all DNS records and their IDs via the `DescribeRecordList` API. RecordId *uint64 `json:"RecordId,omitempty" name:"RecordId"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
Predefined struct for user
type DeleteRecordResponse ¶
type DeleteRecordResponse struct { *tchttp.BaseResponse Response *DeleteRecordResponseParams `json:"Response"` }
func NewDeleteRecordResponse ¶
func NewDeleteRecordResponse() (response *DeleteRecordResponse)
func (*DeleteRecordResponse) FromJsonString ¶
func (r *DeleteRecordResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRecordResponse) ToJsonString ¶
func (r *DeleteRecordResponse) ToJsonString() string
type DeleteRecordResponseParams ¶
type DeleteRecordResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteShareDomainRequest ¶
type DeleteShareDomainRequest struct { string `json:"Domain,omitempty" name:"Domain"` Account *string `json:"Account,omitempty" name:"Account"` DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }Domain *
func NewDeleteShareDomainRequest ¶
func NewDeleteShareDomainRequest() (request *DeleteShareDomainRequest)
func (*DeleteShareDomainRequest) FromJsonString ¶
func (r *DeleteShareDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteShareDomainRequest) ToJsonString ¶
func (r *DeleteShareDomainRequest) ToJsonString() string
type DeleteShareDomainRequestParams ¶
type DeleteShareDomainRequestParams struct { string `json:"Domain,omitempty" name:"Domain"` Account *string `json:"Account,omitempty" name:"Account"` DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }Domain *
Predefined struct for user
type DeleteShareDomainResponse ¶
type DeleteShareDomainResponse struct {}
func NewDeleteShareDomainResponse ¶
func NewDeleteShareDomainResponse() (response *DeleteShareDomainResponse)
func (*DeleteShareDomainResponse) FromJsonString ¶
func (r *DeleteShareDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteShareDomainResponse) ToJsonString ¶
func (r *DeleteShareDomainResponse) ToJsonString() string
type DeleteShareDomainResponseParams ¶
type DeleteShareDomainResponseParams struct { string `json:"RequestId,omitempty" name:"RequestId"` }RequestId *
Predefined struct for user
type DescribeDomainAliasListRequest ¶
type DescribeDomainAliasListRequest struct { *tchttp.BaseRequest // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *int64 `json:"DomainId,omitempty" name:"DomainId"` }
func NewDescribeDomainAliasListRequest ¶
func NewDescribeDomainAliasListRequest() (request *DescribeDomainAliasListRequest)
func (*DescribeDomainAliasListRequest) FromJsonString ¶
func (r *DescribeDomainAliasListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDomainAliasListRequest) ToJsonString ¶
func (r *DescribeDomainAliasListRequest) ToJsonString() string
type DescribeDomainAliasListRequestParams ¶
type DescribeDomainAliasListRequestParams struct { // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *int64 `json:"DomainId,omitempty" name:"DomainId"` }
Predefined struct for user
type DescribeDomainAliasListResponse ¶
type DescribeDomainAliasListResponse struct { *tchttp.BaseResponse Response *DescribeDomainAliasListResponseParams `json:"Response"` }
func NewDescribeDomainAliasListResponse ¶
func NewDescribeDomainAliasListResponse() (response *DescribeDomainAliasListResponse)
func (*DescribeDomainAliasListResponse) FromJsonString ¶
func (r *DescribeDomainAliasListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDomainAliasListResponse) ToJsonString ¶
func (r *DescribeDomainAliasListResponse) ToJsonString() string
type DescribeDomainAliasListResponseParams ¶
type DescribeDomainAliasListResponseParams struct { // List of domain aliases DomainAliasList []*DomainAliasInfo `json:"DomainAliasList,omitempty" name:"DomainAliasList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDomainGroupListRequest ¶
type DescribeDomainGroupListRequest struct {
*tchttp.BaseRequest
}
func NewDescribeDomainGroupListRequest ¶
func NewDescribeDomainGroupListRequest() (request *DescribeDomainGroupListRequest)
func (*DescribeDomainGroupListRequest) FromJsonString ¶
func (r *DescribeDomainGroupListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDomainGroupListRequest) ToJsonString ¶
func (r *DescribeDomainGroupListRequest) ToJsonString() string
type DescribeDomainGroupListRequestParams ¶
type DescribeDomainGroupListRequestParams struct { }
Predefined struct for user
type DescribeDomainGroupListResponse ¶
type DescribeDomainGroupListResponse struct { *tchttp.BaseResponse Response *DescribeDomainGroupListResponseParams `json:"Response"` }
func NewDescribeDomainGroupListResponse ¶
func NewDescribeDomainGroupListResponse() (response *DescribeDomainGroupListResponse)
func (*DescribeDomainGroupListResponse) FromJsonString ¶
func (r *DescribeDomainGroupListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDomainGroupListResponse) ToJsonString ¶
func (r *DescribeDomainGroupListResponse) ToJsonString() string
type DescribeDomainGroupListResponseParams ¶
type DescribeDomainGroupListResponseParams struct { // Group list GroupList []*GroupInfo `json:"GroupList,omitempty" name:"GroupList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDomainListRequest ¶
type DescribeDomainListRequest struct { *tchttp.BaseRequest // Domain group type. Valid values: `ALL`, `MINE`, `SHARE`, `ISMARK`, `PAUSE`, `VIP`, `RECENT`, `SHARE_OUT`. Default value: `ALL`. Type *string `json:"Type,omitempty" name:"Type"` // Record offset starting from `0`. Default value: `0`. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of domains to be obtained. For example, `20` indicates to obtain 20 domains. Default value: `3000`. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Group ID, which can be passed in to get all domains in the specified group GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // Keyword for searching for a domain Keyword *string `json:"Keyword,omitempty" name:"Keyword"` }
func NewDescribeDomainListRequest ¶
func NewDescribeDomainListRequest() (request *DescribeDomainListRequest)
func (*DescribeDomainListRequest) FromJsonString ¶
func (r *DescribeDomainListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDomainListRequest) ToJsonString ¶
func (r *DescribeDomainListRequest) ToJsonString() string
type DescribeDomainListRequestParams ¶
type DescribeDomainListRequestParams struct { // Domain group type. Valid values: `ALL`, `MINE`, `SHARE`, `ISMARK`, `PAUSE`, `VIP`, `RECENT`, `SHARE_OUT`. Default value: `ALL`. Type *string `json:"Type,omitempty" name:"Type"` // Record offset starting from `0`. Default value: `0`. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of domains to be obtained. For example, `20` indicates to obtain 20 domains. Default value: `3000`. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Group ID, which can be passed in to get all domains in the specified group GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // Keyword for searching for a domain Keyword *string `json:"Keyword,omitempty" name:"Keyword"` }
Predefined struct for user
type DescribeDomainListResponse ¶
type DescribeDomainListResponse struct { *tchttp.BaseResponse Response *DescribeDomainListResponseParams `json:"Response"` }
func NewDescribeDomainListResponse ¶
func NewDescribeDomainListResponse() (response *DescribeDomainListResponse)
func (*DescribeDomainListResponse) FromJsonString ¶
func (r *DescribeDomainListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDomainListResponse) ToJsonString ¶
func (r *DescribeDomainListResponse) ToJsonString() string
type DescribeDomainListResponseParams ¶
type DescribeDomainListResponseParams struct { // Statistics on the list page DomainCountInfo *DomainCountInfo `json:"DomainCountInfo,omitempty" name:"DomainCountInfo"` // Domain list DomainList []*DomainListItem `json:"DomainList,omitempty" name:"DomainList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDomainLogListRequest ¶
type DescribeDomainLogListRequest struct { *tchttp.BaseRequest // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` // Record offset starting from `0`. Default value: `0`. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Total number of logs to be obtained. For example, `20` indicates to obtain 20 logs. Default value: `500`. Maximum value: `500`. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeDomainLogListRequest ¶
func NewDescribeDomainLogListRequest() (request *DescribeDomainLogListRequest)
func (*DescribeDomainLogListRequest) FromJsonString ¶
func (r *DescribeDomainLogListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDomainLogListRequest) ToJsonString ¶
func (r *DescribeDomainLogListRequest) ToJsonString() string
type DescribeDomainLogListRequestParams ¶
type DescribeDomainLogListRequestParams struct { // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` // Record offset starting from `0`. Default value: `0`. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Total number of logs to be obtained. For example, `20` indicates to obtain 20 logs. Default value: `500`. Maximum value: `500`. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeDomainLogListResponse ¶
type DescribeDomainLogListResponse struct { *tchttp.BaseResponse Response *DescribeDomainLogListResponseParams `json:"Response"` }
func NewDescribeDomainLogListResponse ¶
func NewDescribeDomainLogListResponse() (response *DescribeDomainLogListResponse)
func (*DescribeDomainLogListResponse) FromJsonString ¶
func (r *DescribeDomainLogListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDomainLogListResponse) ToJsonString ¶
func (r *DescribeDomainLogListResponse) ToJsonString() string
type DescribeDomainLogListResponseParams ¶
type DescribeDomainLogListResponseParams struct { // Domain information // Note: This field may return null, indicating that no valid values can be obtained. LogList []*string `json:"LogList,omitempty" name:"LogList"` // Number of results per page PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"` // Total number of logs TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDomainPurviewRequest ¶
type DescribeDomainPurviewRequest struct { *tchttp.BaseRequest // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
func NewDescribeDomainPurviewRequest ¶
func NewDescribeDomainPurviewRequest() (request *DescribeDomainPurviewRequest)
func (*DescribeDomainPurviewRequest) FromJsonString ¶
func (r *DescribeDomainPurviewRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDomainPurviewRequest) ToJsonString ¶
func (r *DescribeDomainPurviewRequest) ToJsonString() string
type DescribeDomainPurviewRequestParams ¶
type DescribeDomainPurviewRequestParams struct { // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
Predefined struct for user
type DescribeDomainPurviewResponse ¶
type DescribeDomainPurviewResponse struct { *tchttp.BaseResponse Response *DescribeDomainPurviewResponseParams `json:"Response"` }
func NewDescribeDomainPurviewResponse ¶
func NewDescribeDomainPurviewResponse() (response *DescribeDomainPurviewResponse)
func (*DescribeDomainPurviewResponse) FromJsonString ¶
func (r *DescribeDomainPurviewResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDomainPurviewResponse) ToJsonString ¶
func (r *DescribeDomainPurviewResponse) ToJsonString() string
type DescribeDomainPurviewResponseParams ¶
type DescribeDomainPurviewResponseParams struct { // Permission list of the domain PurviewList []*PurviewInfo `json:"PurviewList,omitempty" name:"PurviewList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDomainRequest ¶
type DescribeDomainRequest struct { *tchttp.BaseRequest // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
func NewDescribeDomainRequest ¶
func NewDescribeDomainRequest() (request *DescribeDomainRequest)
func (*DescribeDomainRequest) FromJsonString ¶
func (r *DescribeDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDomainRequest) ToJsonString ¶
func (r *DescribeDomainRequest) ToJsonString() string
type DescribeDomainRequestParams ¶
type DescribeDomainRequestParams struct { // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
Predefined struct for user
type DescribeDomainResponse ¶
type DescribeDomainResponse struct { *tchttp.BaseResponse Response *DescribeDomainResponseParams `json:"Response"` }
func NewDescribeDomainResponse ¶
func NewDescribeDomainResponse() (response *DescribeDomainResponse)
func (*DescribeDomainResponse) FromJsonString ¶
func (r *DescribeDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDomainResponse) ToJsonString ¶
func (r *DescribeDomainResponse) ToJsonString() string
type DescribeDomainResponseParams ¶
type DescribeDomainResponseParams struct { // Domain information DomainInfo *DomainInfo `json:"DomainInfo,omitempty" name:"DomainInfo"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDomainShareInfoRequest ¶
type DescribeDomainShareInfoRequest struct { string `json:"Domain,omitempty" name:"Domain"` DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }Domain *
func NewDescribeDomainShareInfoRequest ¶
func NewDescribeDomainShareInfoRequest() (request *DescribeDomainShareInfoRequest)
func (*DescribeDomainShareInfoRequest) FromJsonString ¶
func (r *DescribeDomainShareInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDomainShareInfoRequest) ToJsonString ¶
func (r *DescribeDomainShareInfoRequest) ToJsonString() string
type DescribeDomainShareInfoRequestParams ¶
type DescribeDomainShareInfoRequestParams struct { string `json:"Domain,omitempty" name:"Domain"` DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }Domain *
Predefined struct for user
type DescribeDomainShareInfoResponse ¶
type DescribeDomainShareInfoResponse struct {}
func NewDescribeDomainShareInfoResponse ¶
func NewDescribeDomainShareInfoResponse() (response *DescribeDomainShareInfoResponse)
func (*DescribeDomainShareInfoResponse) FromJsonString ¶
func (r *DescribeDomainShareInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDomainShareInfoResponse) ToJsonString ¶
func (r *DescribeDomainShareInfoResponse) ToJsonString() string
type DescribeDomainShareInfoResponseParams ¶
type DescribeDomainShareInfoResponseParams struct { DomainShareInfo `json:"ShareList,omitempty" name:"ShareList"` Owner *string `json:"Owner,omitempty" name:"Owner"` RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }ShareList []*
Predefined struct for user
type DescribeRecordGroupListRequest ¶
type DescribeRecordGroupListRequest struct { *tchttp.BaseRequest // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` // Pagination offset Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of items per page for pagination Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeRecordGroupListRequest ¶
func NewDescribeRecordGroupListRequest() (request *DescribeRecordGroupListRequest)
func (*DescribeRecordGroupListRequest) FromJsonString ¶
func (r *DescribeRecordGroupListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRecordGroupListRequest) ToJsonString ¶
func (r *DescribeRecordGroupListRequest) ToJsonString() string
type DescribeRecordGroupListRequestParams ¶
type DescribeRecordGroupListRequestParams struct { // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` // Pagination offset Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of items per page for pagination Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeRecordGroupListResponse ¶
type DescribeRecordGroupListResponse struct { *tchttp.BaseResponse Response *DescribeRecordGroupListResponseParams `json:"Response"` }
func NewDescribeRecordGroupListResponse ¶
func NewDescribeRecordGroupListResponse() (response *DescribeRecordGroupListResponse)
func (*DescribeRecordGroupListResponse) FromJsonString ¶
func (r *DescribeRecordGroupListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRecordGroupListResponse) ToJsonString ¶
func (r *DescribeRecordGroupListResponse) ToJsonString() string
type DescribeRecordGroupListResponseParams ¶
type DescribeRecordGroupListResponseParams struct { // Group list GroupList []*RecordGroupInfo `json:"GroupList,omitempty" name:"GroupList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRecordLineListRequest ¶
type DescribeRecordLineListRequest struct { *tchttp.BaseRequest // Domain. Domain *string `json:"Domain,omitempty" name:"Domain"` // Domain level. // + Original plan. Valid values: `D_FREE` (Free Plan); `D_PLUS` (Individual Plus Plan); `D_EXTRA` (Enterprise 1 Plan); `D_EXPERT` (Enterprise 2 Plan); `D_ULTRA` (Enterprise 3 Plan). // + New plan. Valid values: `DP_FREE` (Free Version); `DP_PLUS` (Professional); `DP_EXTRA` (Enterprise Basic); `DP_EXPERT` (Enterprise); `DP_ULTRA` (Ultimate). DomainGrade *string `json:"DomainGrade,omitempty" name:"DomainGrade"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
func NewDescribeRecordLineListRequest ¶
func NewDescribeRecordLineListRequest() (request *DescribeRecordLineListRequest)
func (*DescribeRecordLineListRequest) FromJsonString ¶
func (r *DescribeRecordLineListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRecordLineListRequest) ToJsonString ¶
func (r *DescribeRecordLineListRequest) ToJsonString() string
type DescribeRecordLineListRequestParams ¶
type DescribeRecordLineListRequestParams struct { // Domain. Domain *string `json:"Domain,omitempty" name:"Domain"` // Domain level. // + Original plan. Valid values: `D_FREE` (Free Plan); `D_PLUS` (Individual Plus Plan); `D_EXTRA` (Enterprise 1 Plan); `D_EXPERT` (Enterprise 2 Plan); `D_ULTRA` (Enterprise 3 Plan). // + New plan. Valid values: `DP_FREE` (Free Version); `DP_PLUS` (Professional); `DP_EXTRA` (Enterprise Basic); `DP_EXPERT` (Enterprise); `DP_ULTRA` (Ultimate). DomainGrade *string `json:"DomainGrade,omitempty" name:"DomainGrade"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
Predefined struct for user
type DescribeRecordLineListResponse ¶
type DescribeRecordLineListResponse struct { *tchttp.BaseResponse Response *DescribeRecordLineListResponseParams `json:"Response"` }
func NewDescribeRecordLineListResponse ¶
func NewDescribeRecordLineListResponse() (response *DescribeRecordLineListResponse)
func (*DescribeRecordLineListResponse) FromJsonString ¶
func (r *DescribeRecordLineListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRecordLineListResponse) ToJsonString ¶
func (r *DescribeRecordLineListResponse) ToJsonString() string
type DescribeRecordLineListResponseParams ¶
type DescribeRecordLineListResponseParams struct { // List of split zones. LineList []*LineInfo `json:"LineList,omitempty" name:"LineList"` // List of split zone groups. LineGroupList []*LineGroupInfo `json:"LineGroupList,omitempty" name:"LineGroupList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRecordListRequest ¶
type DescribeRecordListRequest struct { *tchttp.BaseRequest // The domain for which DNS records are to be obtained. Domain *string `json:"Domain,omitempty" name:"Domain"` // The ID of the domain whose DNS records are requested. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` // The host header of a DNS record. If this parameter is passed in, only the DNS record corresponding to this host header will be returned. Subdomain *string `json:"Subdomain,omitempty" name:"Subdomain"` // The type of DNS record, such as A, CNAME, NS, AAAA, explicit URL, implicit URL, CAA, or SPF record. RecordType *string `json:"RecordType,omitempty" name:"RecordType"` // The name of the split zone for which DNS records are requested. You can view split zones allowed by this domain via the `DescribeRecordLineList` API. RecordLine *string `json:"RecordLine,omitempty" name:"RecordLine"` // The ID of the split zone for which DNS records are requested. If `RecordLineId` is passed in, `RecordLine` is ignored. You can view split zones allowed by this domain via the `DescribeRecordLineList` API. RecordLineId *string `json:"RecordLineId,omitempty" name:"RecordLineId"` // The group ID passed in to get DNS records in the group. GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"` // The keyword for searching for DNS records. Host headers and record values are supported. Keyword *string `json:"Keyword,omitempty" name:"Keyword"` // The sorting field. Available values: `name`, `line`, `type`, `value`, `weight`, `mx`, and `ttl,updated_on`. SortField *string `json:"SortField,omitempty" name:"SortField"` // The sorting type. Valid values: `ASC` (ascending, default), `DESC` (descending). SortType *string `json:"SortType,omitempty" name:"SortType"` // The offset. Default value: `0`. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // The limit. It defaults to 100 and can be up to 3,000. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeRecordListRequest ¶
func NewDescribeRecordListRequest() (request *DescribeRecordListRequest)
func (*DescribeRecordListRequest) FromJsonString ¶
func (r *DescribeRecordListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRecordListRequest) ToJsonString ¶
func (r *DescribeRecordListRequest) ToJsonString() string
type DescribeRecordListRequestParams ¶
type DescribeRecordListRequestParams struct { // The domain for which DNS records are to be obtained. Domain *string `json:"Domain,omitempty" name:"Domain"` // The ID of the domain whose DNS records are requested. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` // The host header of a DNS record. If this parameter is passed in, only the DNS record corresponding to this host header will be returned. Subdomain *string `json:"Subdomain,omitempty" name:"Subdomain"` // The type of DNS record, such as A, CNAME, NS, AAAA, explicit URL, implicit URL, CAA, or SPF record. RecordType *string `json:"RecordType,omitempty" name:"RecordType"` // The name of the split zone for which DNS records are requested. You can view split zones allowed by this domain via the `DescribeRecordLineList` API. RecordLine *string `json:"RecordLine,omitempty" name:"RecordLine"` // The ID of the split zone for which DNS records are requested. If `RecordLineId` is passed in, `RecordLine` is ignored. You can view split zones allowed by this domain via the `DescribeRecordLineList` API. RecordLineId *string `json:"RecordLineId,omitempty" name:"RecordLineId"` // The group ID passed in to get DNS records in the group. GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"` // The keyword for searching for DNS records. Host headers and record values are supported. Keyword *string `json:"Keyword,omitempty" name:"Keyword"` // The sorting field. Available values: `name`, `line`, `type`, `value`, `weight`, `mx`, and `ttl,updated_on`. SortField *string `json:"SortField,omitempty" name:"SortField"` // The sorting type. Valid values: `ASC` (ascending, default), `DESC` (descending). SortType *string `json:"SortType,omitempty" name:"SortType"` // The offset. Default value: `0`. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // The limit. It defaults to 100 and can be up to 3,000. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeRecordListResponse ¶
type DescribeRecordListResponse struct { *tchttp.BaseResponse Response *DescribeRecordListResponseParams `json:"Response"` }
func NewDescribeRecordListResponse ¶
func NewDescribeRecordListResponse() (response *DescribeRecordListResponse)
func (*DescribeRecordListResponse) FromJsonString ¶
func (r *DescribeRecordListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRecordListResponse) ToJsonString ¶
func (r *DescribeRecordListResponse) ToJsonString() string
type DescribeRecordListResponseParams ¶
type DescribeRecordListResponseParams struct { // The record count info. RecordCountInfo *RecordCountInfo `json:"RecordCountInfo,omitempty" name:"RecordCountInfo"` // The record list result. RecordList []*RecordListItem `json:"RecordList,omitempty" name:"RecordList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRecordRequest ¶
type DescribeRecordRequest struct { *tchttp.BaseRequest // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The record ID. You can view all DNS records and their IDs via the `DescribeRecordList` API. RecordId *uint64 `json:"RecordId,omitempty" name:"RecordId"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
func NewDescribeRecordRequest ¶
func NewDescribeRecordRequest() (request *DescribeRecordRequest)
func (*DescribeRecordRequest) FromJsonString ¶
func (r *DescribeRecordRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRecordRequest) ToJsonString ¶
func (r *DescribeRecordRequest) ToJsonString() string
type DescribeRecordRequestParams ¶
type DescribeRecordRequestParams struct { // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The record ID. You can view all DNS records and their IDs via the `DescribeRecordList` API. RecordId *uint64 `json:"RecordId,omitempty" name:"RecordId"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
Predefined struct for user
type DescribeRecordResponse ¶
type DescribeRecordResponse struct { *tchttp.BaseResponse Response *DescribeRecordResponseParams `json:"Response"` }
func NewDescribeRecordResponse ¶
func NewDescribeRecordResponse() (response *DescribeRecordResponse)
func (*DescribeRecordResponse) FromJsonString ¶
func (r *DescribeRecordResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRecordResponse) ToJsonString ¶
func (r *DescribeRecordResponse) ToJsonString() string
type DescribeRecordResponseParams ¶
type DescribeRecordResponseParams struct { // Record information RecordInfo *RecordInfo `json:"RecordInfo,omitempty" name:"RecordInfo"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRecordTypeRequest ¶
type DescribeRecordTypeRequest struct { *tchttp.BaseRequest // Domain level. // + Original plan. Valid values: `D_FREE` (Free Plan); `D_PLUS` (Individual Plus Plan); `D_EXTRA` (Enterprise 1 Plan); `D_EXPERT` (Enterprise 2 Plan); `D_ULTRA` (Enterprise 3 Plan). // + New plan. Valid values: `DP_FREE` (Free Version); `DP_PLUS` (Professional); `DP_EXTRA` (Enterprise Basic); `DP_EXPERT` (Enterprise); `DP_ULTRA` (Ultimate). DomainGrade *string `json:"DomainGrade,omitempty" name:"DomainGrade"` }
func NewDescribeRecordTypeRequest ¶
func NewDescribeRecordTypeRequest() (request *DescribeRecordTypeRequest)
func (*DescribeRecordTypeRequest) FromJsonString ¶
func (r *DescribeRecordTypeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRecordTypeRequest) ToJsonString ¶
func (r *DescribeRecordTypeRequest) ToJsonString() string
type DescribeRecordTypeRequestParams ¶
type DescribeRecordTypeRequestParams struct { // Domain level. // + Original plan. Valid values: `D_FREE` (Free Plan); `D_PLUS` (Individual Plus Plan); `D_EXTRA` (Enterprise 1 Plan); `D_EXPERT` (Enterprise 2 Plan); `D_ULTRA` (Enterprise 3 Plan). // + New plan. Valid values: `DP_FREE` (Free Version); `DP_PLUS` (Professional); `DP_EXTRA` (Enterprise Basic); `DP_EXPERT` (Enterprise); `DP_ULTRA` (Ultimate). DomainGrade *string `json:"DomainGrade,omitempty" name:"DomainGrade"` }
Predefined struct for user
type DescribeRecordTypeResponse ¶
type DescribeRecordTypeResponse struct { *tchttp.BaseResponse Response *DescribeRecordTypeResponseParams `json:"Response"` }
func NewDescribeRecordTypeResponse ¶
func NewDescribeRecordTypeResponse() (response *DescribeRecordTypeResponse)
func (*DescribeRecordTypeResponse) FromJsonString ¶
func (r *DescribeRecordTypeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRecordTypeResponse) ToJsonString ¶
func (r *DescribeRecordTypeResponse) ToJsonString() string
type DescribeRecordTypeResponseParams ¶
type DescribeRecordTypeResponseParams struct { // List of record types TypeList []*string `json:"TypeList,omitempty" name:"TypeList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSubdomainAnalyticsRequest ¶
type DescribeSubdomainAnalyticsRequest struct { *tchttp.BaseRequest // The domain of the DNS query volume to be queried Domain *string `json:"Domain,omitempty" name:"Domain"` // Query start date in the format of `YYYY-MM-DD` StartDate *string `json:"StartDate,omitempty" name:"StartDate"` // Query end date in the format of `YYYY-MM-DD` EndDate *string `json:"EndDate,omitempty" name:"EndDate"` // The subdomain of the DNS query volume to be queried Subdomain *string `json:"Subdomain,omitempty" name:"Subdomain"` // `DATE`: Daily. `HOUR`: Hourly DnsFormat *string `json:"DnsFormat,omitempty" name:"DnsFormat"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
func NewDescribeSubdomainAnalyticsRequest ¶
func NewDescribeSubdomainAnalyticsRequest() (request *DescribeSubdomainAnalyticsRequest)
func (*DescribeSubdomainAnalyticsRequest) FromJsonString ¶
func (r *DescribeSubdomainAnalyticsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSubdomainAnalyticsRequest) ToJsonString ¶
func (r *DescribeSubdomainAnalyticsRequest) ToJsonString() string
type DescribeSubdomainAnalyticsRequestParams ¶
type DescribeSubdomainAnalyticsRequestParams struct { // The domain of the DNS query volume to be queried Domain *string `json:"Domain,omitempty" name:"Domain"` // Query start date in the format of `YYYY-MM-DD` StartDate *string `json:"StartDate,omitempty" name:"StartDate"` // Query end date in the format of `YYYY-MM-DD` EndDate *string `json:"EndDate,omitempty" name:"EndDate"` // The subdomain of the DNS query volume to be queried Subdomain *string `json:"Subdomain,omitempty" name:"Subdomain"` // `DATE`: Daily. `HOUR`: Hourly DnsFormat *string `json:"DnsFormat,omitempty" name:"DnsFormat"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
Predefined struct for user
type DescribeSubdomainAnalyticsResponse ¶
type DescribeSubdomainAnalyticsResponse struct { *tchttp.BaseResponse Response *DescribeSubdomainAnalyticsResponseParams `json:"Response"` }
func NewDescribeSubdomainAnalyticsResponse ¶
func NewDescribeSubdomainAnalyticsResponse() (response *DescribeSubdomainAnalyticsResponse)
func (*DescribeSubdomainAnalyticsResponse) FromJsonString ¶
func (r *DescribeSubdomainAnalyticsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSubdomainAnalyticsResponse) ToJsonString ¶
func (r *DescribeSubdomainAnalyticsResponse) ToJsonString() string
type DescribeSubdomainAnalyticsResponseParams ¶
type DescribeSubdomainAnalyticsResponseParams struct { // DNS query volume in the current statistical dimension Data []*DomainAnalyticsDetail `json:"Data,omitempty" name:"Data"` // Statistics on the DNS query volume of a subdomain Info *SubdomainAnalyticsInfo `json:"Info,omitempty" name:"Info"` // DNS query volume of the subdomain alias AliasData []*SubdomainAliasAnalyticsItem `json:"AliasData,omitempty" name:"AliasData"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DomainAliasInfo ¶
type DomainAnalyticsDetail ¶
type DomainAnalyticsDetail struct { // DNS query volume in the current statistical dimension Num *uint64 `json:"Num,omitempty" name:"Num"` // Collection date for daily collection DateKey *string `json:"DateKey,omitempty" name:"DateKey"` // The last hour (0–23) for hourly collection. For example, if `HourKey` is `23`, the DNS query volume in the statistical period of 22:00–23:00 will be collected. // Note: This field may return null, indicating that no valid values can be obtained. HourKey *uint64 `json:"HourKey,omitempty" name:"HourKey"` }
type DomainCountInfo ¶
type DomainCountInfo struct { // Number of eligible domains DomainTotal *uint64 `json:"DomainTotal,omitempty" name:"DomainTotal"` // Number of all domains that can be viewed by the user AllTotal *uint64 `json:"AllTotal,omitempty" name:"AllTotal"` // Number of domains added under the user account MineTotal *uint64 `json:"MineTotal,omitempty" name:"MineTotal"` ShareTotal *uint64 `json:"ShareTotal,omitempty" name:"ShareTotal"` // Number of paid domains VipTotal *uint64 `json:"VipTotal,omitempty" name:"VipTotal"` // Number of suspended domains PauseTotal *uint64 `json:"PauseTotal,omitempty" name:"PauseTotal"` // Number of domains with a DNS configuration error ErrorTotal *uint64 `json:"ErrorTotal,omitempty" name:"ErrorTotal"` // Number of locked domains LockTotal *uint64 `json:"LockTotal,omitempty" name:"LockTotal"` // Number of blocked domains SpamTotal *uint64 `json:"SpamTotal,omitempty" name:"SpamTotal"` // Number of domains that will expire within 30 days VipExpire *uint64 `json:"VipExpire,omitempty" name:"VipExpire"` ShareOutTotal *uint64 `json:"ShareOutTotal,omitempty" name:"ShareOutTotal"` // Number of domains in the specified group GroupTotal *uint64 `json:"GroupTotal,omitempty" name:"GroupTotal"` }
type DomainCreateInfo ¶
type DomainCreateInfo struct { // Domain ID Id *uint64 `json:"Id,omitempty" name:"Id"` // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // Domain Punycode Punycode *string `json:"Punycode,omitempty" name:"Punycode"` // NS list of the domain GradeNsList []*string `json:"GradeNsList,omitempty" name:"GradeNsList"` }
type DomainInfo ¶
type DomainInfo struct { // Domain ID DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` // Domain status Status *string `json:"Status,omitempty" name:"Status"` // DNS plan level Grade *string `json:"Grade,omitempty" name:"Grade"` // Domain group ID GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"` // Whether the domain is starred IsMark *string `json:"IsMark,omitempty" name:"IsMark"` // TTL (DNS record cache time) TTL *uint64 `json:"TTL,omitempty" name:"TTL"` // Whether CNAME flattening is enabled CnameSpeedup *string `json:"CnameSpeedup,omitempty" name:"CnameSpeedup"` // Domain remarks // Note: This field may return null, indicating that no valid values can be obtained. Remark *string `json:"Remark,omitempty" name:"Remark"` // Domain Punycode Punycode *string `json:"Punycode,omitempty" name:"Punycode"` // DNS status of the domain DnsStatus *string `json:"DnsStatus,omitempty" name:"DnsStatus"` // NS list of the domain DnspodNsList []*string `json:"DnspodNsList,omitempty" name:"DnspodNsList"` // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // Domain level ID GradeLevel *uint64 `json:"GradeLevel,omitempty" name:"GradeLevel"` // Domain user ID UserId *uint64 `json:"UserId,omitempty" name:"UserId"` // Whether the domain is a VIP domain IsVip *string `json:"IsVip,omitempty" name:"IsVip"` // Domain owner account Owner *string `json:"Owner,omitempty" name:"Owner"` // Domain level description GradeTitle *string `json:"GradeTitle,omitempty" name:"GradeTitle"` // Domain creation time CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"` // Last update time UpdatedOn *string `json:"UpdatedOn,omitempty" name:"UpdatedOn"` // Tencent Cloud account `Uin` Uin *string `json:"Uin,omitempty" name:"Uin"` // NS list actually used by the domain // Note: This field may return null, indicating that no valid values can be obtained. ActualNsList []*string `json:"ActualNsList,omitempty" name:"ActualNsList"` // Number of domain records RecordCount *uint64 `json:"RecordCount,omitempty" name:"RecordCount"` // Alias of the domain account owner // Note: This field may return null, indicating that no valid values can be obtained. OwnerNick *string `json:"OwnerNick,omitempty" name:"OwnerNick"` }
type DomainListItem ¶
type DomainListItem struct { // Unique ID assigned to the domain by the system DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` // Original format of the domain Name *string `json:"Name,omitempty" name:"Name"` // Domain status. Valid values: `ENABLE` (normal), `PAUSE` (suspended), `SPAM` (blocked). Status *string `json:"Status,omitempty" name:"Status"` // Default TTL of the default DNS record of the domain TTL *uint64 `json:"TTL,omitempty" name:"TTL"` // Whether CNAME flattening is enabled. Valid values: `ENABLE` (enabled); `DISABLE` (disabled). CNAMESpeedup *string `json:"CNAMESpeedup,omitempty" name:"CNAMESpeedup"` // DNS configuration status. Valid values: `DNSERROR` (error), an empty string (normal). DNSStatus *string `json:"DNSStatus,omitempty" name:"DNSStatus"` // Plan level code of the domain Grade *string `json:"Grade,omitempty" name:"Grade"` // Group ID of the domain GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"` // Whether search engine push optimization is enabled. Valid values: `YES` (yes), `NO` (no). SearchEnginePush *string `json:"SearchEnginePush,omitempty" name:"SearchEnginePush"` // Domain remarks Remark *string `json:"Remark,omitempty" name:"Remark"` // Punycode-encoded domain format Punycode *string `json:"Punycode,omitempty" name:"Punycode"` // Effective DNS assigned to the domain by the system EffectiveDNS []*string `json:"EffectiveDNS,omitempty" name:"EffectiveDNS"` // Number corresponding to the plan level of the domain GradeLevel *uint64 `json:"GradeLevel,omitempty" name:"GradeLevel"` // Plan name GradeTitle *string `json:"GradeTitle,omitempty" name:"GradeTitle"` // Whether it is a paid plan IsVip *string `json:"IsVip,omitempty" name:"IsVip"` // Activation time of the paid plan VipStartAt *string `json:"VipStartAt,omitempty" name:"VipStartAt"` // Expiry time of the paid plan VipEndAt *string `json:"VipEndAt,omitempty" name:"VipEndAt"` // Whether VIP automatic renewal is enabled for the domain. Valid values: `YES` (yes); `NO` (no). Default value: `DEFAULT`. VipAutoRenew *string `json:"VipAutoRenew,omitempty" name:"VipAutoRenew"` // Number of records under the domain RecordCount *uint64 `json:"RecordCount,omitempty" name:"RecordCount"` // Domain adding time CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"` // Domain update time UpdatedOn *string `json:"UpdatedOn,omitempty" name:"UpdatedOn"` // Account of the domain Owner *string `json:"Owner,omitempty" name:"Owner"` }
type DomainShareInfo ¶
type GroupInfo ¶
type GroupInfo struct { // Group ID GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // Group name GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // Group type GroupType *string `json:"GroupType,omitempty" name:"GroupType"` // Number of domains in the group Size *int64 `json:"Size,omitempty" name:"Size"` }
type LineGroupInfo ¶
type LineGroupInfo struct { // Split zone group ID LineId *string `json:"LineId,omitempty" name:"LineId"` // Split zone group name Name *string `json:"Name,omitempty" name:"Name"` // Group type Type *string `json:"Type,omitempty" name:"Type"` // List of split zones in the split zone group LineList []*string `json:"LineList,omitempty" name:"LineList"` }
type ModifyDomainLockRequest ¶
type ModifyDomainLockRequest struct { *tchttp.BaseRequest // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // Number of days to lock the domain. The maximum number of locked days can be obtained by calling the API for getting the permissions of a domain. LockDays *uint64 `json:"LockDays,omitempty" name:"LockDays"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
func NewModifyDomainLockRequest ¶
func NewModifyDomainLockRequest() (request *ModifyDomainLockRequest)
func (*ModifyDomainLockRequest) FromJsonString ¶
func (r *ModifyDomainLockRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDomainLockRequest) ToJsonString ¶
func (r *ModifyDomainLockRequest) ToJsonString() string
type ModifyDomainLockRequestParams ¶
type ModifyDomainLockRequestParams struct { // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // Number of days to lock the domain. The maximum number of locked days can be obtained by calling the API for getting the permissions of a domain. LockDays *uint64 `json:"LockDays,omitempty" name:"LockDays"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
Predefined struct for user
type ModifyDomainLockResponse ¶
type ModifyDomainLockResponse struct { *tchttp.BaseResponse Response *ModifyDomainLockResponseParams `json:"Response"` }
func NewModifyDomainLockResponse ¶
func NewModifyDomainLockResponse() (response *ModifyDomainLockResponse)
func (*ModifyDomainLockResponse) FromJsonString ¶
func (r *ModifyDomainLockResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDomainLockResponse) ToJsonString ¶
func (r *ModifyDomainLockResponse) ToJsonString() string
type ModifyDomainLockResponseParams ¶
type ModifyDomainLockResponseParams struct { // Domain lock information LockInfo *LockInfo `json:"LockInfo,omitempty" name:"LockInfo"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDomainOwnerRequest ¶
type ModifyDomainOwnerRequest struct { *tchttp.BaseRequest // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The account to which to transfer the domain, which can be an UIN or email address Account *string `json:"Account,omitempty" name:"Account"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
func NewModifyDomainOwnerRequest ¶
func NewModifyDomainOwnerRequest() (request *ModifyDomainOwnerRequest)
func (*ModifyDomainOwnerRequest) FromJsonString ¶
func (r *ModifyDomainOwnerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDomainOwnerRequest) ToJsonString ¶
func (r *ModifyDomainOwnerRequest) ToJsonString() string
type ModifyDomainOwnerRequestParams ¶
type ModifyDomainOwnerRequestParams struct { // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The account to which to transfer the domain, which can be an UIN or email address Account *string `json:"Account,omitempty" name:"Account"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
Predefined struct for user
type ModifyDomainOwnerResponse ¶
type ModifyDomainOwnerResponse struct { *tchttp.BaseResponse Response *ModifyDomainOwnerResponseParams `json:"Response"` }
func NewModifyDomainOwnerResponse ¶
func NewModifyDomainOwnerResponse() (response *ModifyDomainOwnerResponse)
func (*ModifyDomainOwnerResponse) FromJsonString ¶
func (r *ModifyDomainOwnerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDomainOwnerResponse) ToJsonString ¶
func (r *ModifyDomainOwnerResponse) ToJsonString() string
type ModifyDomainOwnerResponseParams ¶
type ModifyDomainOwnerResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDomainRemarkRequest ¶
type ModifyDomainRemarkRequest struct { *tchttp.BaseRequest // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` // Domain remarks. To delete the remarks, submit empty content. Remark *string `json:"Remark,omitempty" name:"Remark"` }
func NewModifyDomainRemarkRequest ¶
func NewModifyDomainRemarkRequest() (request *ModifyDomainRemarkRequest)
func (*ModifyDomainRemarkRequest) FromJsonString ¶
func (r *ModifyDomainRemarkRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDomainRemarkRequest) ToJsonString ¶
func (r *ModifyDomainRemarkRequest) ToJsonString() string
type ModifyDomainRemarkRequestParams ¶
type ModifyDomainRemarkRequestParams struct { // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` // Domain remarks. To delete the remarks, submit empty content. Remark *string `json:"Remark,omitempty" name:"Remark"` }
Predefined struct for user
type ModifyDomainRemarkResponse ¶
type ModifyDomainRemarkResponse struct { *tchttp.BaseResponse Response *ModifyDomainRemarkResponseParams `json:"Response"` }
func NewModifyDomainRemarkResponse ¶
func NewModifyDomainRemarkResponse() (response *ModifyDomainRemarkResponse)
func (*ModifyDomainRemarkResponse) FromJsonString ¶
func (r *ModifyDomainRemarkResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDomainRemarkResponse) ToJsonString ¶
func (r *ModifyDomainRemarkResponse) ToJsonString() string
type ModifyDomainRemarkResponseParams ¶
type ModifyDomainRemarkResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDomainStatusRequest ¶
type ModifyDomainStatusRequest struct { *tchttp.BaseRequest // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // Domain status. Valid values: enable; disable. Status *string `json:"Status,omitempty" name:"Status"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
func NewModifyDomainStatusRequest ¶
func NewModifyDomainStatusRequest() (request *ModifyDomainStatusRequest)
func (*ModifyDomainStatusRequest) FromJsonString ¶
func (r *ModifyDomainStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDomainStatusRequest) ToJsonString ¶
func (r *ModifyDomainStatusRequest) ToJsonString() string
type ModifyDomainStatusRequestParams ¶
type ModifyDomainStatusRequestParams struct { // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // Domain status. Valid values: enable; disable. Status *string `json:"Status,omitempty" name:"Status"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
Predefined struct for user
type ModifyDomainStatusResponse ¶
type ModifyDomainStatusResponse struct { *tchttp.BaseResponse Response *ModifyDomainStatusResponseParams `json:"Response"` }
func NewModifyDomainStatusResponse ¶
func NewModifyDomainStatusResponse() (response *ModifyDomainStatusResponse)
func (*ModifyDomainStatusResponse) FromJsonString ¶
func (r *ModifyDomainStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDomainStatusResponse) ToJsonString ¶
func (r *ModifyDomainStatusResponse) ToJsonString() string
type ModifyDomainStatusResponseParams ¶
type ModifyDomainStatusResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDomainUnlockRequest ¶
type ModifyDomainUnlockRequest struct { *tchttp.BaseRequest // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // Domain unlock code, which will be returned when the domain is locked. LockCode *string `json:"LockCode,omitempty" name:"LockCode"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
func NewModifyDomainUnlockRequest ¶
func NewModifyDomainUnlockRequest() (request *ModifyDomainUnlockRequest)
func (*ModifyDomainUnlockRequest) FromJsonString ¶
func (r *ModifyDomainUnlockRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDomainUnlockRequest) ToJsonString ¶
func (r *ModifyDomainUnlockRequest) ToJsonString() string
type ModifyDomainUnlockRequestParams ¶
type ModifyDomainUnlockRequestParams struct { // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // Domain unlock code, which will be returned when the domain is locked. LockCode *string `json:"LockCode,omitempty" name:"LockCode"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
Predefined struct for user
type ModifyDomainUnlockResponse ¶
type ModifyDomainUnlockResponse struct { *tchttp.BaseResponse Response *ModifyDomainUnlockResponseParams `json:"Response"` }
func NewModifyDomainUnlockResponse ¶
func NewModifyDomainUnlockResponse() (response *ModifyDomainUnlockResponse)
func (*ModifyDomainUnlockResponse) FromJsonString ¶
func (r *ModifyDomainUnlockResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDomainUnlockResponse) ToJsonString ¶
func (r *ModifyDomainUnlockResponse) ToJsonString() string
type ModifyDomainUnlockResponseParams ¶
type ModifyDomainUnlockResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyRecordBatchDetail ¶
type ModifyRecordBatchDetail struct { // See `RecordInfoBatchModify`. // Note: This field may return null, indicating that no valid values can be obtained. RecordList []*BatchRecordInfo `json:"RecordList,omitempty" name:"RecordList"` // Task ID Id *uint64 `json:"Id,omitempty" name:"Id"` // Domain // Note: This field may return null, indicating that no valid values can be obtained. Domain *string `json:"Domain,omitempty" name:"Domain"` // Domain level // Note: This field may return null, indicating that no valid values can be obtained. DomainGrade *string `json:"DomainGrade,omitempty" name:"DomainGrade"` // Error message // Note: This field may return null, indicating that no valid values can be obtained. ErrMsg *string `json:"ErrMsg,omitempty" name:"ErrMsg"` // Task running status // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitempty" name:"Status"` // Operation type // Note: This field may return null, indicating that no valid values can be obtained. Operation *string `json:"Operation,omitempty" name:"Operation"` // Domain ID // Note: This field may return null, indicating that no valid values can be obtained. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
type ModifyRecordBatchRequest ¶
type ModifyRecordBatchRequest struct { *tchttp.BaseRequest // Array of record IDs. You can view all DNS records and their IDs via the `DescribeRecordList` API. RecordIdList []*uint64 `json:"RecordIdList,omitempty" name:"RecordIdList"` // The field to be modified. Valid values: `sub_domain`, `record_type`, `area`, `value`, `mx`, `ttl`, `status`. Change *string `json:"Change,omitempty" name:"Change"` // The value to be changed to, which is required and subject to the `change` field. ChangeTo *string `json:"ChangeTo,omitempty" name:"ChangeTo"` // The record value to be changed to, which is required only if the `change` field is `record_type`. Value *string `json:"Value,omitempty" name:"Value"` // MX record priority, which is required only if the `Change` field is `mx`. MX *string `json:"MX,omitempty" name:"MX"` }
func NewModifyRecordBatchRequest ¶
func NewModifyRecordBatchRequest() (request *ModifyRecordBatchRequest)
func (*ModifyRecordBatchRequest) FromJsonString ¶
func (r *ModifyRecordBatchRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRecordBatchRequest) ToJsonString ¶
func (r *ModifyRecordBatchRequest) ToJsonString() string
type ModifyRecordBatchRequestParams ¶
type ModifyRecordBatchRequestParams struct { // Array of record IDs. You can view all DNS records and their IDs via the `DescribeRecordList` API. RecordIdList []*uint64 `json:"RecordIdList,omitempty" name:"RecordIdList"` // The field to be modified. Valid values: `sub_domain`, `record_type`, `area`, `value`, `mx`, `ttl`, `status`. Change *string `json:"Change,omitempty" name:"Change"` // The value to be changed to, which is required and subject to the `change` field. ChangeTo *string `json:"ChangeTo,omitempty" name:"ChangeTo"` // The record value to be changed to, which is required only if the `change` field is `record_type`. Value *string `json:"Value,omitempty" name:"Value"` // MX record priority, which is required only if the `Change` field is `mx`. MX *string `json:"MX,omitempty" name:"MX"` }
Predefined struct for user
type ModifyRecordBatchResponse ¶
type ModifyRecordBatchResponse struct { *tchttp.BaseResponse Response *ModifyRecordBatchResponseParams `json:"Response"` }
func NewModifyRecordBatchResponse ¶
func NewModifyRecordBatchResponse() (response *ModifyRecordBatchResponse)
func (*ModifyRecordBatchResponse) FromJsonString ¶
func (r *ModifyRecordBatchResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRecordBatchResponse) ToJsonString ¶
func (r *ModifyRecordBatchResponse) ToJsonString() string
type ModifyRecordBatchResponseParams ¶
type ModifyRecordBatchResponseParams struct { // Bulk task ID JobId *uint64 `json:"JobId,omitempty" name:"JobId"` // See `modifyRecordBatchDetail`. DetailList []*ModifyRecordBatchDetail `json:"DetailList,omitempty" name:"DetailList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyRecordGroupRequest ¶
type ModifyRecordGroupRequest struct { *tchttp.BaseRequest // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // Group name GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // ID of the group to be modified GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
func NewModifyRecordGroupRequest ¶
func NewModifyRecordGroupRequest() (request *ModifyRecordGroupRequest)
func (*ModifyRecordGroupRequest) FromJsonString ¶
func (r *ModifyRecordGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRecordGroupRequest) ToJsonString ¶
func (r *ModifyRecordGroupRequest) ToJsonString() string
type ModifyRecordGroupRequestParams ¶
type ModifyRecordGroupRequestParams struct { // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // Group name GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // ID of the group to be modified GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
Predefined struct for user
type ModifyRecordGroupResponse ¶
type ModifyRecordGroupResponse struct { *tchttp.BaseResponse Response *ModifyRecordGroupResponseParams `json:"Response"` }
func NewModifyRecordGroupResponse ¶
func NewModifyRecordGroupResponse() (response *ModifyRecordGroupResponse)
func (*ModifyRecordGroupResponse) FromJsonString ¶
func (r *ModifyRecordGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRecordGroupResponse) ToJsonString ¶
func (r *ModifyRecordGroupResponse) ToJsonString() string
type ModifyRecordGroupResponseParams ¶
type ModifyRecordGroupResponseParams struct { // ID of the modified group GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyRecordRemarkRequest ¶
type ModifyRecordRemarkRequest struct { *tchttp.BaseRequest // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The record ID. You can view all DNS records and their IDs via the `DescribeRecordList` API. RecordId *uint64 `json:"RecordId,omitempty" name:"RecordId"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` // DNS record remarks. To delete the remarks, submit empty content. Remark *string `json:"Remark,omitempty" name:"Remark"` }
func NewModifyRecordRemarkRequest ¶
func NewModifyRecordRemarkRequest() (request *ModifyRecordRemarkRequest)
func (*ModifyRecordRemarkRequest) FromJsonString ¶
func (r *ModifyRecordRemarkRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRecordRemarkRequest) ToJsonString ¶
func (r *ModifyRecordRemarkRequest) ToJsonString() string
type ModifyRecordRemarkRequestParams ¶
type ModifyRecordRemarkRequestParams struct { // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The record ID. You can view all DNS records and their IDs via the `DescribeRecordList` API. RecordId *uint64 `json:"RecordId,omitempty" name:"RecordId"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` // DNS record remarks. To delete the remarks, submit empty content. Remark *string `json:"Remark,omitempty" name:"Remark"` }
Predefined struct for user
type ModifyRecordRemarkResponse ¶
type ModifyRecordRemarkResponse struct { *tchttp.BaseResponse Response *ModifyRecordRemarkResponseParams `json:"Response"` }
func NewModifyRecordRemarkResponse ¶
func NewModifyRecordRemarkResponse() (response *ModifyRecordRemarkResponse)
func (*ModifyRecordRemarkResponse) FromJsonString ¶
func (r *ModifyRecordRemarkResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRecordRemarkResponse) ToJsonString ¶
func (r *ModifyRecordRemarkResponse) ToJsonString() string
type ModifyRecordRemarkResponseParams ¶
type ModifyRecordRemarkResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyRecordRequest ¶
type ModifyRecordRequest struct { *tchttp.BaseRequest // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // Record type, which is obtained through the record type API. The value contains uppercase letters, such as `A`. RecordType *string `json:"RecordType,omitempty" name:"RecordType"` // Record split zone, which is obtained through the record split zone API. RecordLine *string `json:"RecordLine,omitempty" name:"RecordLine"` // Record value, such as `IP : 200.200.200.200`, `CNAME : cname.dnspod.com`, and `MX : mail.dnspod.com`. Value *string `json:"Value,omitempty" name:"Value"` // The record ID. You can view all DNS records and their IDs via the `DescribeRecordList` API. RecordId *uint64 `json:"RecordId,omitempty" name:"RecordId"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` // Host record such as `www`. If it is not passed in, it will be `@` by default. SubDomain *string `json:"SubDomain,omitempty" name:"SubDomain"` // Split zone ID, which is obtained through the record split zone API. The value is a string such as `10=1`. The `RecordLineId` parameter has a higher priority than `RecordLine`. If both of them are passed in, `RecordLineId` will be used first. RecordLineId *string `json:"RecordLineId,omitempty" name:"RecordLineId"` // MX priority, which is required for an MX record and will take effect if the record type is MX. Value range: 1–20. MX *uint64 `json:"MX,omitempty" name:"MX"` // TTL. Value range: 1–604800. The minimum value varies by domain level. TTL *uint64 `json:"TTL,omitempty" name:"TTL"` // Weight information, which is an integer between 0 and 100. It is supported only for enterprise VIP domains. `0` indicates not to pass in this parameter, i.e., not to set the weight. Weight *uint64 `json:"Weight,omitempty" name:"Weight"` // Initial status of the record. Valid values: ENABLE, DISABLE. Default value: ENABLE. If `DISABLE` is passed in, the DNS record won't take effect, and the limit on round-robin DNS won't be verified. Status *string `json:"Status,omitempty" name:"Status"` }
func NewModifyRecordRequest ¶
func NewModifyRecordRequest() (request *ModifyRecordRequest)
func (*ModifyRecordRequest) FromJsonString ¶
func (r *ModifyRecordRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRecordRequest) ToJsonString ¶
func (r *ModifyRecordRequest) ToJsonString() string
type ModifyRecordRequestParams ¶
type ModifyRecordRequestParams struct { // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // Record type, which is obtained through the record type API. The value contains uppercase letters, such as `A`. RecordType *string `json:"RecordType,omitempty" name:"RecordType"` // Record split zone, which is obtained through the record split zone API. RecordLine *string `json:"RecordLine,omitempty" name:"RecordLine"` // Record value, such as `IP : 200.200.200.200`, `CNAME : cname.dnspod.com`, and `MX : mail.dnspod.com`. Value *string `json:"Value,omitempty" name:"Value"` // The record ID. You can view all DNS records and their IDs via the `DescribeRecordList` API. RecordId *uint64 `json:"RecordId,omitempty" name:"RecordId"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` // Host record such as `www`. If it is not passed in, it will be `@` by default. SubDomain *string `json:"SubDomain,omitempty" name:"SubDomain"` // Split zone ID, which is obtained through the record split zone API. The value is a string such as `10=1`. The `RecordLineId` parameter has a higher priority than `RecordLine`. If both of them are passed in, `RecordLineId` will be used first. RecordLineId *string `json:"RecordLineId,omitempty" name:"RecordLineId"` // MX priority, which is required for an MX record and will take effect if the record type is MX. Value range: 1–20. MX *uint64 `json:"MX,omitempty" name:"MX"` // TTL. Value range: 1–604800. The minimum value varies by domain level. TTL *uint64 `json:"TTL,omitempty" name:"TTL"` // Weight information, which is an integer between 0 and 100. It is supported only for enterprise VIP domains. `0` indicates not to pass in this parameter, i.e., not to set the weight. Weight *uint64 `json:"Weight,omitempty" name:"Weight"` // Initial status of the record. Valid values: ENABLE, DISABLE. Default value: ENABLE. If `DISABLE` is passed in, the DNS record won't take effect, and the limit on round-robin DNS won't be verified. Status *string `json:"Status,omitempty" name:"Status"` }
Predefined struct for user
type ModifyRecordResponse ¶
type ModifyRecordResponse struct { *tchttp.BaseResponse Response *ModifyRecordResponseParams `json:"Response"` }
func NewModifyRecordResponse ¶
func NewModifyRecordResponse() (response *ModifyRecordResponse)
func (*ModifyRecordResponse) FromJsonString ¶
func (r *ModifyRecordResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRecordResponse) ToJsonString ¶
func (r *ModifyRecordResponse) ToJsonString() string
type ModifyRecordResponseParams ¶
type ModifyRecordResponseParams struct { // Record ID RecordId *uint64 `json:"RecordId,omitempty" name:"RecordId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyRecordStatusRequest ¶
type ModifyRecordStatusRequest struct { *tchttp.BaseRequest // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The record ID. You can view all DNS records and their IDs via the `DescribeRecordList` API. RecordId *uint64 `json:"RecordId,omitempty" name:"RecordId"` // Record status. Valid values: `ENABLE`, `DISABLE`. If `DISABLE` is passed in, the DNS record won't take effect, and the limit on round-robin DNS won't be verified. Status *string `json:"Status,omitempty" name:"Status"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
func NewModifyRecordStatusRequest ¶
func NewModifyRecordStatusRequest() (request *ModifyRecordStatusRequest)
func (*ModifyRecordStatusRequest) FromJsonString ¶
func (r *ModifyRecordStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRecordStatusRequest) ToJsonString ¶
func (r *ModifyRecordStatusRequest) ToJsonString() string
type ModifyRecordStatusRequestParams ¶
type ModifyRecordStatusRequestParams struct { // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The record ID. You can view all DNS records and their IDs via the `DescribeRecordList` API. RecordId *uint64 `json:"RecordId,omitempty" name:"RecordId"` // Record status. Valid values: `ENABLE`, `DISABLE`. If `DISABLE` is passed in, the DNS record won't take effect, and the limit on round-robin DNS won't be verified. Status *string `json:"Status,omitempty" name:"Status"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
Predefined struct for user
type ModifyRecordStatusResponse ¶
type ModifyRecordStatusResponse struct { *tchttp.BaseResponse Response *ModifyRecordStatusResponseParams `json:"Response"` }
func NewModifyRecordStatusResponse ¶
func NewModifyRecordStatusResponse() (response *ModifyRecordStatusResponse)
func (*ModifyRecordStatusResponse) FromJsonString ¶
func (r *ModifyRecordStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRecordStatusResponse) ToJsonString ¶
func (r *ModifyRecordStatusResponse) ToJsonString() string
type ModifyRecordStatusResponseParams ¶
type ModifyRecordStatusResponseParams struct { // Record ID. RecordId *uint64 `json:"RecordId,omitempty" name:"RecordId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyRecordToGroupRequest ¶
type ModifyRecordToGroupRequest struct { *tchttp.BaseRequest // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // Group ID GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"` // Record ID. Separate multiple IDs by vertical bar ("|"). RecordId *string `json:"RecordId,omitempty" name:"RecordId"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
func NewModifyRecordToGroupRequest ¶
func NewModifyRecordToGroupRequest() (request *ModifyRecordToGroupRequest)
func (*ModifyRecordToGroupRequest) FromJsonString ¶
func (r *ModifyRecordToGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRecordToGroupRequest) ToJsonString ¶
func (r *ModifyRecordToGroupRequest) ToJsonString() string
type ModifyRecordToGroupRequestParams ¶
type ModifyRecordToGroupRequestParams struct { // Domain Domain *string `json:"Domain,omitempty" name:"Domain"` // Group ID GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"` // Record ID. Separate multiple IDs by vertical bar ("|"). RecordId *string `json:"RecordId,omitempty" name:"RecordId"` // The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
Predefined struct for user
type ModifyRecordToGroupResponse ¶
type ModifyRecordToGroupResponse struct { *tchttp.BaseResponse Response *ModifyRecordToGroupResponseParams `json:"Response"` }
func NewModifyRecordToGroupResponse ¶
func NewModifyRecordToGroupResponse() (response *ModifyRecordToGroupResponse)
func (*ModifyRecordToGroupResponse) FromJsonString ¶
func (r *ModifyRecordToGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRecordToGroupResponse) ToJsonString ¶
func (r *ModifyRecordToGroupResponse) ToJsonString() string
type ModifyRecordToGroupResponseParams ¶
type ModifyRecordToGroupResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type PurviewInfo ¶
type RecordCountInfo ¶
type RecordCountInfo struct { // The subdomain count. SubdomainCount *uint64 `json:"SubdomainCount,omitempty" name:"SubdomainCount"` // The count of records returned in the list. ListCount *uint64 `json:"ListCount,omitempty" name:"ListCount"` // The total record count. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` }
type RecordGroupInfo ¶
type RecordInfo ¶
type RecordInfo struct { // Record ID. Id *uint64 `json:"Id,omitempty" name:"Id"` // Subdomain (host record). SubDomain *string `json:"SubDomain,omitempty" name:"SubDomain"` // Record type. For more information, see the `DescribeRecordType` API. RecordType *string `json:"RecordType,omitempty" name:"RecordType"` // Split zone of the DNS record. For more information, see the `DescribeRecordLineList` API. RecordLine *string `json:"RecordLine,omitempty" name:"RecordLine"` // Split zone ID of the DNS record. For more information, see the `DescribeRecordLineList` API. RecordLineId *string `json:"RecordLineId,omitempty" name:"RecordLineId"` // Record value. Value *string `json:"Value,omitempty" name:"Value"` // Record weight. // Note: This field may return null, indicating that no valid values can be obtained. Weight *uint64 `json:"Weight,omitempty" name:"Weight"` // MX record value. It is 0 by default for non-MX records. MX *uint64 `json:"MX,omitempty" name:"MX"` // TTL value of the record. TTL *uint64 `json:"TTL,omitempty" name:"TTL"` // Record status. Valid values: 0 (disabled); 1 (enabled). Enabled *uint64 `json:"Enabled,omitempty" name:"Enabled"` // D-Monitor status of the record. // "Ok" : The server is normal. // "Warn" : There is an alarm on this record, and the server returns 4XX. // "Down" : The server is down. // "" : D-Monitor is disabled for this record. MonitorStatus *string `json:"MonitorStatus,omitempty" name:"MonitorStatus"` // Record remarks. // Note: This field may return null, indicating that no valid values can be obtained. Remark *string `json:"Remark,omitempty" name:"Remark"` // Last update time of the record. UpdatedOn *string `json:"UpdatedOn,omitempty" name:"UpdatedOn"` // Domain ID. DomainId *uint64 `json:"DomainId,omitempty" name:"DomainId"` }
type RecordListItem ¶
type RecordListItem struct { // The record ID. RecordId *uint64 `json:"RecordId,omitempty" name:"RecordId"` // The record value. Value *string `json:"Value,omitempty" name:"Value"` // The record status. Valid values: `ENABLE` (enabled), `DISABLE` (disabled). Status *string `json:"Status,omitempty" name:"Status"` // The update time. UpdatedOn *string `json:"UpdatedOn,omitempty" name:"UpdatedOn"` // The host name. Name *string `json:"Name,omitempty" name:"Name"` // The record split zone. Line *string `json:"Line,omitempty" name:"Line"` // The split zone ID. LineId *string `json:"LineId,omitempty" name:"LineId"` // The record type. Type *string `json:"Type,omitempty" name:"Type"` // The record weight, which is required for round-robin DNS records. // Note: This field may return null, indicating that no valid values can be obtained. Weight *uint64 `json:"Weight,omitempty" name:"Weight"` // The monitoring status of the record. Valid values: `OK` (normal), `WARN` (warning), and `DOWN` (downtime). It is empty if no monitoring is set or the monitoring is suspended. MonitorStatus *string `json:"MonitorStatus,omitempty" name:"MonitorStatus"` // The record remarks. Remark *string `json:"Remark,omitempty" name:"Remark"` // The record cache time. TTL *uint64 `json:"TTL,omitempty" name:"TTL"` // The MX value, applicable to the MX record only. // Note: This field may return null, indicating that no valid values can be obtained. MX *uint64 `json:"MX,omitempty" name:"MX"` // Whether it is a default NS record. DefaultNS *bool `json:"DefaultNS,omitempty" name:"DefaultNS"` }
type SubdomainAliasAnalyticsItem ¶
type SubdomainAliasAnalyticsItem struct { // Statistics on the DNS query volume of a subdomain Info *SubdomainAnalyticsInfo `json:"Info,omitempty" name:"Info"` // DNS query volume in the current statistical dimension Data []*DomainAnalyticsDetail `json:"Data,omitempty" name:"Data"` }
type SubdomainAnalyticsInfo ¶
type SubdomainAnalyticsInfo struct { // `DATE`: Daily; `HOUR`: Hourly DnsFormat *string `json:"DnsFormat,omitempty" name:"DnsFormat"` // Total DNS query volume for the current statistical period DnsTotal *uint64 `json:"DnsTotal,omitempty" name:"DnsTotal"` // The queried domain Domain *string `json:"Domain,omitempty" name:"Domain"` // Start date of the current statistical period StartDate *string `json:"StartDate,omitempty" name:"StartDate"` // End date of the current statistical period EndDate *string `json:"EndDate,omitempty" name:"EndDate"` // Subdomain Subdomain *string `json:"Subdomain,omitempty" name:"Subdomain"` }