Documentation ¶
Index ¶
- Constants
- type AppAssociatedUserGroupIds
- type Client
- func (c *Client) CreateApiImportUserJob(request *CreateApiImportUserJobRequest) (response *CreateApiImportUserJobResponse, err error)
- func (c *Client) CreateApiImportUserJobWithContext(ctx context.Context, request *CreateApiImportUserJobRequest) (response *CreateApiImportUserJobResponse, err error)
- func (c *Client) CreateFileExportUserJob(request *CreateFileExportUserJobRequest) (response *CreateFileExportUserJobResponse, err error)
- func (c *Client) CreateFileExportUserJobWithContext(ctx context.Context, request *CreateFileExportUserJobRequest) (response *CreateFileExportUserJobResponse, err error)
- func (c *Client) CreateUser(request *CreateUserRequest) (response *CreateUserResponse, err error)
- func (c *Client) CreateUserGroup(request *CreateUserGroupRequest) (response *CreateUserGroupResponse, err error)
- func (c *Client) CreateUserGroupWithContext(ctx context.Context, request *CreateUserGroupRequest) (response *CreateUserGroupResponse, err error)
- func (c *Client) CreateUserStore(request *CreateUserStoreRequest) (response *CreateUserStoreResponse, err error)
- func (c *Client) CreateUserStoreWithContext(ctx context.Context, request *CreateUserStoreRequest) (response *CreateUserStoreResponse, err error)
- func (c *Client) CreateUserWithContext(ctx context.Context, request *CreateUserRequest) (response *CreateUserResponse, err error)
- func (c *Client) DeleteUserGroups(request *DeleteUserGroupsRequest) (response *DeleteUserGroupsResponse, err error)
- func (c *Client) DeleteUserGroupsWithContext(ctx context.Context, request *DeleteUserGroupsRequest) (response *DeleteUserGroupsResponse, err error)
- func (c *Client) DeleteUserStore(request *DeleteUserStoreRequest) (response *DeleteUserStoreResponse, err error)
- func (c *Client) DeleteUserStoreWithContext(ctx context.Context, request *DeleteUserStoreRequest) (response *DeleteUserStoreResponse, err error)
- func (c *Client) DeleteUsers(request *DeleteUsersRequest) (response *DeleteUsersResponse, err error)
- func (c *Client) DeleteUsersWithContext(ctx context.Context, request *DeleteUsersRequest) (response *DeleteUsersResponse, err error)
- func (c *Client) DescribeUser(request *DescribeUserRequest) (response *DescribeUserResponse, err error)
- func (c *Client) DescribeUserById(request *DescribeUserByIdRequest) (response *DescribeUserByIdResponse, err error)
- func (c *Client) DescribeUserByIdWithContext(ctx context.Context, request *DescribeUserByIdRequest) (response *DescribeUserByIdResponse, err error)
- func (c *Client) DescribeUserWithContext(ctx context.Context, request *DescribeUserRequest) (response *DescribeUserResponse, err error)
- func (c *Client) LinkAccount(request *LinkAccountRequest) (response *LinkAccountResponse, err error)
- func (c *Client) LinkAccountWithContext(ctx context.Context, request *LinkAccountRequest) (response *LinkAccountResponse, err error)
- func (c *Client) ListJobs(request *ListJobsRequest) (response *ListJobsResponse, err error)
- func (c *Client) ListJobsWithContext(ctx context.Context, request *ListJobsRequest) (response *ListJobsResponse, err error)
- func (c *Client) ListLogMessageByCondition(request *ListLogMessageByConditionRequest) (response *ListLogMessageByConditionResponse, err error)
- func (c *Client) ListLogMessageByConditionWithContext(ctx context.Context, request *ListLogMessageByConditionRequest) (response *ListLogMessageByConditionResponse, err error)
- func (c *Client) ListUser(request *ListUserRequest) (response *ListUserResponse, err error)
- func (c *Client) ListUserByProperty(request *ListUserByPropertyRequest) (response *ListUserByPropertyResponse, err error)
- func (c *Client) ListUserByPropertyWithContext(ctx context.Context, request *ListUserByPropertyRequest) (response *ListUserByPropertyResponse, err error)
- func (c *Client) ListUserGroups(request *ListUserGroupsRequest) (response *ListUserGroupsResponse, err error)
- func (c *Client) ListUserGroupsWithContext(ctx context.Context, request *ListUserGroupsRequest) (response *ListUserGroupsResponse, err error)
- func (c *Client) ListUserStore(request *ListUserStoreRequest) (response *ListUserStoreResponse, err error)
- func (c *Client) ListUserStoreWithContext(ctx context.Context, request *ListUserStoreRequest) (response *ListUserStoreResponse, err error)
- func (c *Client) ListUserWithContext(ctx context.Context, request *ListUserRequest) (response *ListUserResponse, err error)
- func (c *Client) ResetPassword(request *ResetPasswordRequest) (response *ResetPasswordResponse, err error)
- func (c *Client) ResetPasswordWithContext(ctx context.Context, request *ResetPasswordRequest) (response *ResetPasswordResponse, err error)
- func (c *Client) SetPassword(request *SetPasswordRequest) (response *SetPasswordResponse, err error)
- func (c *Client) SetPasswordWithContext(ctx context.Context, request *SetPasswordRequest) (response *SetPasswordResponse, err error)
- func (c *Client) UpdateUser(request *UpdateUserRequest) (response *UpdateUserResponse, err error)
- func (c *Client) UpdateUserGroup(request *UpdateUserGroupRequest) (response *UpdateUserGroupResponse, err error)
- func (c *Client) UpdateUserGroupWithContext(ctx context.Context, request *UpdateUserGroupRequest) (response *UpdateUserGroupResponse, err error)
- func (c *Client) UpdateUserStatus(request *UpdateUserStatusRequest) (response *UpdateUserStatusResponse, err error)
- func (c *Client) UpdateUserStatusWithContext(ctx context.Context, request *UpdateUserStatusRequest) (response *UpdateUserStatusResponse, err error)
- func (c *Client) UpdateUserStore(request *UpdateUserStoreRequest) (response *UpdateUserStoreResponse, err error)
- func (c *Client) UpdateUserStoreWithContext(ctx context.Context, request *UpdateUserStoreRequest) (response *UpdateUserStoreResponse, err error)
- func (c *Client) UpdateUserWithContext(ctx context.Context, request *UpdateUserRequest) (response *UpdateUserResponse, err error)
- type CreateApiImportUserJobRequest
- type CreateApiImportUserJobRequestParams
- type CreateApiImportUserJobResponse
- type CreateApiImportUserJobResponseParams
- type CreateFileExportUserJobRequest
- type CreateFileExportUserJobRequestParams
- type CreateFileExportUserJobResponse
- type CreateFileExportUserJobResponseParams
- type CreateUserGroupRequest
- type CreateUserGroupRequestParams
- type CreateUserGroupResponse
- type CreateUserGroupResponseParams
- type CreateUserRequest
- type CreateUserRequestParams
- type CreateUserResponse
- type CreateUserResponseParams
- type CreateUserStoreRequest
- type CreateUserStoreRequestParams
- type CreateUserStoreResponse
- type CreateUserStoreResponseParams
- type DeleteUserGroupsRequest
- type DeleteUserGroupsRequestParams
- type DeleteUserGroupsResponse
- type DeleteUserGroupsResponseParams
- type DeleteUserStoreRequest
- type DeleteUserStoreRequestParams
- type DeleteUserStoreResponse
- type DeleteUserStoreResponseParams
- type DeleteUsersRequest
- type DeleteUsersRequestParams
- type DeleteUsersResponse
- type DeleteUsersResponseParams
- type DescribeUserByIdRequest
- type DescribeUserByIdRequestParams
- type DescribeUserByIdResponse
- type DescribeUserByIdResponseParams
- type DescribeUserRequest
- type DescribeUserRequestParams
- type DescribeUserResponse
- type DescribeUserResponseParams
- type ErrorDetails
- type ExportPropertyMap
- type FailedUsers
- type Filter
- type ImportUser
- type Job
- type LinkAccountRequest
- type LinkAccountRequestParams
- type LinkAccountResponse
- type LinkAccountResponseParams
- type ListJobsRequest
- type ListJobsRequestParams
- type ListJobsResponse
- type ListJobsResponseParams
- type ListLogMessageByConditionRequest
- type ListLogMessageByConditionRequestParams
- type ListLogMessageByConditionResponse
- type ListLogMessageByConditionResponseParams
- type ListUserByPropertyRequest
- type ListUserByPropertyRequestParams
- type ListUserByPropertyResponse
- type ListUserByPropertyResponseParams
- type ListUserGroupsRequest
- type ListUserGroupsRequestParams
- type ListUserGroupsResponse
- type ListUserGroupsResponseParams
- type ListUserRequest
- type ListUserRequestParams
- type ListUserResponse
- type ListUserResponseParams
- type ListUserStoreRequest
- type ListUserStoreRequestParams
- type ListUserStoreResponse
- type ListUserStoreResponseParams
- type LogMessage
- type MemberMap
- type Pageable
- type QueryUserFilter
- type ResetPasswordRequest
- type ResetPasswordRequestParams
- type ResetPasswordResponse
- type ResetPasswordResponseParams
- type Salt
- type SaltLocation
- type SaltLocationRule
- type SetPasswordRequest
- type SetPasswordRequestParams
- type SetPasswordResponse
- type SetPasswordResponseParams
- type Sort
- type UpdateUserGroupRequest
- type UpdateUserGroupRequestParams
- type UpdateUserGroupResponse
- type UpdateUserGroupResponseParams
- type UpdateUserRequest
- type UpdateUserRequestParams
- type UpdateUserResponse
- type UpdateUserResponseParams
- type UpdateUserStatusRequest
- type UpdateUserStatusRequestParams
- type UpdateUserStatusResponse
- type UpdateUserStatusResponseParams
- type UpdateUserStoreRequest
- type UpdateUserStoreRequestParams
- type UpdateUserStoreResponse
- type UpdateUserStoreResponseParams
- type User
- type UserGroup
- type UserGroupDeleteResp
- type UserStore
Constants ¶
const ( // CAM签名/鉴权错误。 AUTHFAILURE = "AuthFailure" // DryRun 操作,代表请求将会是成功的,只是多传了 DryRun 参数。 DRYRUNOPERATION = "DryRunOperation" // 操作失败。 FAILEDOPERATION = "FailedOperation" // 从账号已经被融合过,不允许再次融合。 FAILEDOPERATION_ACCOUNTALREADYBELINKED = "FailedOperation.AccountAlreadyBeLinked" // 用户属性格式异常。 FAILEDOPERATION_ATTRIBUTEFORMATERROR = "FailedOperation.AttributeFormatError" // 认证源名称已存在。 FAILEDOPERATION_AUTHSOURCENAMEALREADYEXISTS = "FailedOperation.AuthSourceNameAlreadyExists" // 认证源不存在。 FAILEDOPERATION_AUTHSOURCENOTFOUND = "FailedOperation.AuthSourceNotFound" // 已存在2个有效的任务,请等待其中一部分完成后重试。 FAILEDOPERATION_DATAFLOWTOOMANYREQUESTS = "FailedOperation.DataFlowTooManyRequests" // 该邮箱已被用户绑定。 FAILEDOPERATION_EMAILALREADYEXISTS = "FailedOperation.EmailAlreadyExists" // 邮箱地址不能为空。 FAILEDOPERATION_EMAILISNULL = "FailedOperation.EmailIsNull" // 导入用户时,用户为空。 FAILEDOPERATION_IMPORTUSERISEMPTY = "FailedOperation.ImportUserIsEmpty" // indexedAttribute最长512字符。 FAILEDOPERATION_INDEXEDATTRIBUTETOOLONG = "FailedOperation.IndexedAttributeTooLong" // 无效租户。 FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" // 状态枚举值错误,请参考接口文档。 FAILEDOPERATION_INVALIDUSERSTATUSENUM = "FailedOperation.InvalidUserStatusEnum" // 无效用户池。 FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" // 密码不能为空。 FAILEDOPERATION_PASSWORDISNULL = "FailedOperation.PasswordIsNull" // 该手机号已被用户绑定。 FAILEDOPERATION_PHONENUMBERALREADYEXISTS = "FailedOperation.PhoneNumberAlreadyExists" // 电话号码不能为空。 FAILEDOPERATION_PHONENUMBERISNULL = "FailedOperation.PhoneNumberIsNull" // 主用户不存在。 FAILEDOPERATION_PRIMARYUSERNOTFOUND = "FailedOperation.PrimaryUserNotFound" // 查询条件必须包含id, userName, phoneNumber, email, userGroup, alipayUserId, wechatOpenId,wechatUnionId, qqOpenId, qqUnionId,lastModifiedDate, indexedAttribute1, indexedAttribute2,indexedAttribute3, indexedAttribute4, indexedAttribute5重的一个或者多个。 FAILEDOPERATION_QUERYUSERSPARAMETERMUSTINWHITELIST = "FailedOperation.QueryUsersParameterMustInWhitelist" // 查询用户条件不能有重复的条件。 FAILEDOPERATION_QUERYUSERSPARAMETERREPEAT = "FailedOperation.QueryUsersParameterRepeat" // Sort条件的PropertyKey必须在id, userName, phoneNumber, email, userGroup, alipayUserId, wechatOpenId,wechatUnionId, qqOpenId, qqUnionId,lastModifiedDate, indexedAttribute1, indexedAttribute2,indexedAttribute3, indexedAttribute4, indexedAttribute5中。 FAILEDOPERATION_QUERYUSERSSORTPARAMETERMUSTINWHITELIST = "FailedOperation.QueryUsersSortParameterMustInWhitelist" // 配额超限,如有需求请联系客服人员。 FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" // 从用户不存在。 FAILEDOPERATION_SECONDARYUSERNOTFOUND = "FailedOperation.SecondaryUserNotFound" // 用户组名称已存在。 FAILEDOPERATION_USERGROUPNAMEALREADYEXISTS = "FailedOperation.UserGroupNameAlreadyExists" // 用户组不存在。 FAILEDOPERATION_USERGROUPNOTFOUND = "FailedOperation.UserGroupNotFound" // 用户已被冻结。 FAILEDOPERATION_USERISFREEZE = "FailedOperation.UserIsFreeze" // 用户名称已存在。 FAILEDOPERATION_USERNAMEALREADYEXISTS = "FailedOperation.UserNameAlreadyExists" // 用户名不能为空。 FAILEDOPERATION_USERNAMEISNULL = "FailedOperation.UserNameIsNull" // 用户不存在。 FAILEDOPERATION_USERNOTFOUND = "FailedOperation.UserNotFound" // 属性标识已存在。 FAILEDOPERATION_USERPROPERTYCODEALREADYEXISTS = "FailedOperation.UserPropertyCodeAlreadyExists" // 用户属性不存在。 FAILEDOPERATION_USERPROPERTYNOTFOUND = "FailedOperation.UserPropertyNotFound" // 更新状态必传。 FAILEDOPERATION_USERSTATUSREQUIRED = "FailedOperation.UserStatusRequired" // 已存在相同用户目录名。 FAILEDOPERATION_USERSTOREALREADYEXISTS = "FailedOperation.UserStoreAlreadyExists" // 已存在相同域名。 FAILEDOPERATION_USERSTOREDOMAINALREADYEXISTS = "FailedOperation.UserStoreDomainAlreadyExists" // 用户目录不存在。 FAILEDOPERATION_USERSTORENOTEXIST = "FailedOperation.UserStoreNotExist" // 内部错误。 INTERNALERROR = "InternalError" // 判断存在用户内部请求错误,请稍后重试。 INTERNALERROR_JUDGEUSEREXISTEXCEPTION = "InternalError.JudgeUserExistException" // 未知错误。 INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" // 创建用户目录时创建秘钥失败。 INTERNALERROR_USERSTORECREATESECRETFAIL = "InternalError.UserStoreCreateSecretFail" // 删除用户目录时删除用户失败。 INTERNALERROR_USERSTOREDELETEUSERFAIL = "InternalError.UserStoreDeleteUserFail" // 参数错误。 INVALIDPARAMETER = "InvalidParameter" // 请求参数不合法。 INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" // 参数取值错误。 INVALIDPARAMETERVALUE = "InvalidParameterValue" // 超过配额限制。 LIMITEXCEEDED = "LimitExceeded" // 缺少参数错误。 MISSINGPARAMETER = "MissingParameter" // 操作被拒绝。 OPERATIONDENIED = "OperationDenied" // 请求的次数超过了频率限制。 REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // 请求过于频繁,请稍后再试。 REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" // 请求重复,请稍后再试。 REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" // 资源被占用。 RESOURCEINUSE = "ResourceInUse" // 资源不足。 RESOURCEINSUFFICIENT = "ResourceInsufficient" // 资源不存在。 RESOURCENOTFOUND = "ResourceNotFound" // 资源不可用。 RESOURCEUNAVAILABLE = "ResourceUnavailable" // 资源售罄。 RESOURCESSOLDOUT = "ResourcesSoldOut" // 未授权操作。 UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // 服务未开通。 UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" // 未知参数错误。 UNKNOWNPARAMETER = "UnknownParameter" // 操作不支持。 UNSUPPORTEDOPERATION = "UnsupportedOperation" // 认证源已启用,不允许删除。 UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.EnabledAuthSourceCanNotBeDeleted" // 认证源已启用,不允许更新。 UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEUPDATED = "UnsupportedOperation.EnabledAuthSourceCanNotBeUpdated" // 内置属性不支持该操作。 UNSUPPORTEDOPERATION_INTERNALUSERPROPERTY = "UnsupportedOperation.InternalUserProperty" // 属性被应用关联,不允许删除。 UNSUPPORTEDOPERATION_LINKEDAPPUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAppUserPropertyCanNotBeDeleted" // 认证源被应用关联,不允许关闭。 UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBECLOSED = "UnsupportedOperation.LinkedAuthSourceCanNotBeClosed" // 认证源被应用关联,不允许删除。 UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceCanNotBeDeleted" // 属性被认证源关联,不允许删除。 UNSUPPORTEDOPERATION_LINKEDAUTHSOURCEUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceUserPropertyCanNotBeDeleted" // 属性被其它模块关联,不允许删除。 UNSUPPORTEDOPERATION_LINKEDUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedUserPropertyCanNotBeDeleted" // 不允许使用平台域名后缀作为自有域名后缀。 UNSUPPORTEDOPERATION_PLATFORMDOMAINSUFFIXCANNOTBEUSED = "UnsupportedOperation.PlatformDomainSuffixCanNotBeUsed" // 用户池下已存在用户,用户属性不允许被删除。 UNSUPPORTEDOPERATION_WHENUSEREXISTUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.WhenUserExistUserPropertyCanNotBeDeleted" )
const APIVersion = "2022-03-31"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppAssociatedUserGroupIds ¶ added in v1.0.693
type AppAssociatedUserGroupIds struct { // 用户组id // 注意:此字段可能返回 null,表示取不到有效值。 UserGroupId *string `json:"UserGroupId,omitnil,omitempty" name:"UserGroupId"` // 应用id // 注意:此字段可能返回 null,表示取不到有效值。 ApplicationId *string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` // 应用名称 // 注意:此字段可能返回 null,表示取不到有效值。 ApplicationName *string `json:"ApplicationName,omitnil,omitempty" name:"ApplicationName"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CreateApiImportUserJob ¶ added in v1.0.422
func (c *Client) CreateApiImportUserJob(request *CreateApiImportUserJobRequest) (response *CreateApiImportUserJobResponse, err error)
CreateApiImportUserJob 新建接口导入用户任务
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DATAFLOWTOOMANYREQUESTS = "FailedOperation.DataFlowTooManyRequests" FAILEDOPERATION_IMPORTUSERISEMPTY = "FailedOperation.ImportUserIsEmpty" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateApiImportUserJobWithContext ¶ added in v1.0.422
func (c *Client) CreateApiImportUserJobWithContext(ctx context.Context, request *CreateApiImportUserJobRequest) (response *CreateApiImportUserJobResponse, err error)
CreateApiImportUserJob 新建接口导入用户任务
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DATAFLOWTOOMANYREQUESTS = "FailedOperation.DataFlowTooManyRequests" FAILEDOPERATION_IMPORTUSERISEMPTY = "FailedOperation.ImportUserIsEmpty" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateFileExportUserJob ¶ added in v1.0.422
func (c *Client) CreateFileExportUserJob(request *CreateFileExportUserJobRequest) (response *CreateFileExportUserJobResponse, err error)
CreateFileExportUserJob 新建文件导出用户任务
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DATAFLOWTOOMANYREQUESTS = "FailedOperation.DataFlowTooManyRequests" FAILEDOPERATION_IMPORTUSERISEMPTY = "FailedOperation.ImportUserIsEmpty" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateFileExportUserJobWithContext ¶ added in v1.0.422
func (c *Client) CreateFileExportUserJobWithContext(ctx context.Context, request *CreateFileExportUserJobRequest) (response *CreateFileExportUserJobResponse, err error)
CreateFileExportUserJob 新建文件导出用户任务
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DATAFLOWTOOMANYREQUESTS = "FailedOperation.DataFlowTooManyRequests" FAILEDOPERATION_IMPORTUSERISEMPTY = "FailedOperation.ImportUserIsEmpty" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateUser ¶ added in v1.0.421
func (c *Client) CreateUser(request *CreateUserRequest) (response *CreateUserResponse, err error)
CreateUser 创建用户
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ATTRIBUTEFORMATERROR = "FailedOperation.AttributeFormatError" FAILEDOPERATION_EMAILALREADYEXISTS = "FailedOperation.EmailAlreadyExists" FAILEDOPERATION_EMAILISNULL = "FailedOperation.EmailIsNull" FAILEDOPERATION_INDEXEDATTRIBUTETOOLONG = "FailedOperation.IndexedAttributeTooLong" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_PASSWORDISNULL = "FailedOperation.PasswordIsNull" FAILEDOPERATION_PHONENUMBERALREADYEXISTS = "FailedOperation.PhoneNumberAlreadyExists" FAILEDOPERATION_PHONENUMBERISNULL = "FailedOperation.PhoneNumberIsNull" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" FAILEDOPERATION_USERGROUPNOTFOUND = "FailedOperation.UserGroupNotFound" FAILEDOPERATION_USERNAMEALREADYEXISTS = "FailedOperation.UserNameAlreadyExists" FAILEDOPERATION_USERNAMEISNULL = "FailedOperation.UserNameIsNull" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateUserGroup ¶ added in v1.0.693
func (c *Client) CreateUserGroup(request *CreateUserGroupRequest) (response *CreateUserGroupResponse, err error)
CreateUserGroup 创建用户组
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AUTHSOURCENAMEALREADYEXISTS = "FailedOperation.AuthSourceNameAlreadyExists" FAILEDOPERATION_AUTHSOURCENOTFOUND = "FailedOperation.AuthSourceNotFound" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" FAILEDOPERATION_USERGROUPNAMEALREADYEXISTS = "FailedOperation.UserGroupNameAlreadyExists" FAILEDOPERATION_USERPROPERTYCODEALREADYEXISTS = "FailedOperation.UserPropertyCodeAlreadyExists" FAILEDOPERATION_USERPROPERTYNOTFOUND = "FailedOperation.UserPropertyNotFound" FAILEDOPERATION_USERSTOREDOMAINALREADYEXISTS = "FailedOperation.UserStoreDomainAlreadyExists" INTERNALERROR = "InternalError" INTERNALERROR_JUDGEUSEREXISTEXCEPTION = "InternalError.JudgeUserExistException" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.EnabledAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEUPDATED = "UnsupportedOperation.EnabledAuthSourceCanNotBeUpdated" UNSUPPORTEDOPERATION_INTERNALUSERPROPERTY = "UnsupportedOperation.InternalUserProperty" UNSUPPORTEDOPERATION_LINKEDAPPUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAppUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBECLOSED = "UnsupportedOperation.LinkedAuthSourceCanNotBeClosed" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCEUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_PLATFORMDOMAINSUFFIXCANNOTBEUSED = "UnsupportedOperation.PlatformDomainSuffixCanNotBeUsed" UNSUPPORTEDOPERATION_WHENUSEREXISTUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.WhenUserExistUserPropertyCanNotBeDeleted"
func (*Client) CreateUserGroupWithContext ¶ added in v1.0.693
func (c *Client) CreateUserGroupWithContext(ctx context.Context, request *CreateUserGroupRequest) (response *CreateUserGroupResponse, err error)
CreateUserGroup 创建用户组
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AUTHSOURCENAMEALREADYEXISTS = "FailedOperation.AuthSourceNameAlreadyExists" FAILEDOPERATION_AUTHSOURCENOTFOUND = "FailedOperation.AuthSourceNotFound" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" FAILEDOPERATION_USERGROUPNAMEALREADYEXISTS = "FailedOperation.UserGroupNameAlreadyExists" FAILEDOPERATION_USERPROPERTYCODEALREADYEXISTS = "FailedOperation.UserPropertyCodeAlreadyExists" FAILEDOPERATION_USERPROPERTYNOTFOUND = "FailedOperation.UserPropertyNotFound" FAILEDOPERATION_USERSTOREDOMAINALREADYEXISTS = "FailedOperation.UserStoreDomainAlreadyExists" INTERNALERROR = "InternalError" INTERNALERROR_JUDGEUSEREXISTEXCEPTION = "InternalError.JudgeUserExistException" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.EnabledAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEUPDATED = "UnsupportedOperation.EnabledAuthSourceCanNotBeUpdated" UNSUPPORTEDOPERATION_INTERNALUSERPROPERTY = "UnsupportedOperation.InternalUserProperty" UNSUPPORTEDOPERATION_LINKEDAPPUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAppUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBECLOSED = "UnsupportedOperation.LinkedAuthSourceCanNotBeClosed" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCEUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_PLATFORMDOMAINSUFFIXCANNOTBEUSED = "UnsupportedOperation.PlatformDomainSuffixCanNotBeUsed" UNSUPPORTEDOPERATION_WHENUSEREXISTUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.WhenUserExistUserPropertyCanNotBeDeleted"
func (*Client) CreateUserStore ¶ added in v1.0.693
func (c *Client) CreateUserStore(request *CreateUserStoreRequest) (response *CreateUserStoreResponse, err error)
CreateUserStore 创建用户目录
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AUTHSOURCENAMEALREADYEXISTS = "FailedOperation.AuthSourceNameAlreadyExists" FAILEDOPERATION_AUTHSOURCENOTFOUND = "FailedOperation.AuthSourceNotFound" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" FAILEDOPERATION_USERPROPERTYCODEALREADYEXISTS = "FailedOperation.UserPropertyCodeAlreadyExists" FAILEDOPERATION_USERPROPERTYNOTFOUND = "FailedOperation.UserPropertyNotFound" FAILEDOPERATION_USERSTOREALREADYEXISTS = "FailedOperation.UserStoreAlreadyExists" FAILEDOPERATION_USERSTOREDOMAINALREADYEXISTS = "FailedOperation.UserStoreDomainAlreadyExists" INTERNALERROR = "InternalError" INTERNALERROR_JUDGEUSEREXISTEXCEPTION = "InternalError.JudgeUserExistException" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INTERNALERROR_USERSTORECREATESECRETFAIL = "InternalError.UserStoreCreateSecretFail" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.EnabledAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEUPDATED = "UnsupportedOperation.EnabledAuthSourceCanNotBeUpdated" UNSUPPORTEDOPERATION_INTERNALUSERPROPERTY = "UnsupportedOperation.InternalUserProperty" UNSUPPORTEDOPERATION_LINKEDAPPUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAppUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBECLOSED = "UnsupportedOperation.LinkedAuthSourceCanNotBeClosed" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCEUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_PLATFORMDOMAINSUFFIXCANNOTBEUSED = "UnsupportedOperation.PlatformDomainSuffixCanNotBeUsed" UNSUPPORTEDOPERATION_WHENUSEREXISTUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.WhenUserExistUserPropertyCanNotBeDeleted"
func (*Client) CreateUserStoreWithContext ¶ added in v1.0.693
func (c *Client) CreateUserStoreWithContext(ctx context.Context, request *CreateUserStoreRequest) (response *CreateUserStoreResponse, err error)
CreateUserStore 创建用户目录
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AUTHSOURCENAMEALREADYEXISTS = "FailedOperation.AuthSourceNameAlreadyExists" FAILEDOPERATION_AUTHSOURCENOTFOUND = "FailedOperation.AuthSourceNotFound" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" FAILEDOPERATION_USERPROPERTYCODEALREADYEXISTS = "FailedOperation.UserPropertyCodeAlreadyExists" FAILEDOPERATION_USERPROPERTYNOTFOUND = "FailedOperation.UserPropertyNotFound" FAILEDOPERATION_USERSTOREALREADYEXISTS = "FailedOperation.UserStoreAlreadyExists" FAILEDOPERATION_USERSTOREDOMAINALREADYEXISTS = "FailedOperation.UserStoreDomainAlreadyExists" INTERNALERROR = "InternalError" INTERNALERROR_JUDGEUSEREXISTEXCEPTION = "InternalError.JudgeUserExistException" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INTERNALERROR_USERSTORECREATESECRETFAIL = "InternalError.UserStoreCreateSecretFail" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.EnabledAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEUPDATED = "UnsupportedOperation.EnabledAuthSourceCanNotBeUpdated" UNSUPPORTEDOPERATION_INTERNALUSERPROPERTY = "UnsupportedOperation.InternalUserProperty" UNSUPPORTEDOPERATION_LINKEDAPPUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAppUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBECLOSED = "UnsupportedOperation.LinkedAuthSourceCanNotBeClosed" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCEUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_PLATFORMDOMAINSUFFIXCANNOTBEUSED = "UnsupportedOperation.PlatformDomainSuffixCanNotBeUsed" UNSUPPORTEDOPERATION_WHENUSEREXISTUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.WhenUserExistUserPropertyCanNotBeDeleted"
func (*Client) CreateUserWithContext ¶ added in v1.0.421
func (c *Client) CreateUserWithContext(ctx context.Context, request *CreateUserRequest) (response *CreateUserResponse, err error)
CreateUser 创建用户
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ATTRIBUTEFORMATERROR = "FailedOperation.AttributeFormatError" FAILEDOPERATION_EMAILALREADYEXISTS = "FailedOperation.EmailAlreadyExists" FAILEDOPERATION_EMAILISNULL = "FailedOperation.EmailIsNull" FAILEDOPERATION_INDEXEDATTRIBUTETOOLONG = "FailedOperation.IndexedAttributeTooLong" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_PASSWORDISNULL = "FailedOperation.PasswordIsNull" FAILEDOPERATION_PHONENUMBERALREADYEXISTS = "FailedOperation.PhoneNumberAlreadyExists" FAILEDOPERATION_PHONENUMBERISNULL = "FailedOperation.PhoneNumberIsNull" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" FAILEDOPERATION_USERGROUPNOTFOUND = "FailedOperation.UserGroupNotFound" FAILEDOPERATION_USERNAMEALREADYEXISTS = "FailedOperation.UserNameAlreadyExists" FAILEDOPERATION_USERNAMEISNULL = "FailedOperation.UserNameIsNull" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteUserGroups ¶ added in v1.0.693
func (c *Client) DeleteUserGroups(request *DeleteUserGroupsRequest) (response *DeleteUserGroupsResponse, err error)
DeleteUserGroups 批量删除用户组
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AUTHSOURCENAMEALREADYEXISTS = "FailedOperation.AuthSourceNameAlreadyExists" FAILEDOPERATION_AUTHSOURCENOTFOUND = "FailedOperation.AuthSourceNotFound" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" FAILEDOPERATION_USERPROPERTYCODEALREADYEXISTS = "FailedOperation.UserPropertyCodeAlreadyExists" FAILEDOPERATION_USERPROPERTYNOTFOUND = "FailedOperation.UserPropertyNotFound" FAILEDOPERATION_USERSTOREDOMAINALREADYEXISTS = "FailedOperation.UserStoreDomainAlreadyExists" INTERNALERROR = "InternalError" INTERNALERROR_JUDGEUSEREXISTEXCEPTION = "InternalError.JudgeUserExistException" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.EnabledAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEUPDATED = "UnsupportedOperation.EnabledAuthSourceCanNotBeUpdated" UNSUPPORTEDOPERATION_INTERNALUSERPROPERTY = "UnsupportedOperation.InternalUserProperty" UNSUPPORTEDOPERATION_LINKEDAPPUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAppUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBECLOSED = "UnsupportedOperation.LinkedAuthSourceCanNotBeClosed" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCEUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_PLATFORMDOMAINSUFFIXCANNOTBEUSED = "UnsupportedOperation.PlatformDomainSuffixCanNotBeUsed" UNSUPPORTEDOPERATION_WHENUSEREXISTUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.WhenUserExistUserPropertyCanNotBeDeleted"
func (*Client) DeleteUserGroupsWithContext ¶ added in v1.0.693
func (c *Client) DeleteUserGroupsWithContext(ctx context.Context, request *DeleteUserGroupsRequest) (response *DeleteUserGroupsResponse, err error)
DeleteUserGroups 批量删除用户组
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AUTHSOURCENAMEALREADYEXISTS = "FailedOperation.AuthSourceNameAlreadyExists" FAILEDOPERATION_AUTHSOURCENOTFOUND = "FailedOperation.AuthSourceNotFound" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" FAILEDOPERATION_USERPROPERTYCODEALREADYEXISTS = "FailedOperation.UserPropertyCodeAlreadyExists" FAILEDOPERATION_USERPROPERTYNOTFOUND = "FailedOperation.UserPropertyNotFound" FAILEDOPERATION_USERSTOREDOMAINALREADYEXISTS = "FailedOperation.UserStoreDomainAlreadyExists" INTERNALERROR = "InternalError" INTERNALERROR_JUDGEUSEREXISTEXCEPTION = "InternalError.JudgeUserExistException" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.EnabledAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEUPDATED = "UnsupportedOperation.EnabledAuthSourceCanNotBeUpdated" UNSUPPORTEDOPERATION_INTERNALUSERPROPERTY = "UnsupportedOperation.InternalUserProperty" UNSUPPORTEDOPERATION_LINKEDAPPUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAppUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBECLOSED = "UnsupportedOperation.LinkedAuthSourceCanNotBeClosed" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCEUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_PLATFORMDOMAINSUFFIXCANNOTBEUSED = "UnsupportedOperation.PlatformDomainSuffixCanNotBeUsed" UNSUPPORTEDOPERATION_WHENUSEREXISTUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.WhenUserExistUserPropertyCanNotBeDeleted"
func (*Client) DeleteUserStore ¶ added in v1.0.693
func (c *Client) DeleteUserStore(request *DeleteUserStoreRequest) (response *DeleteUserStoreResponse, err error)
DeleteUserStore 删除用户目录
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AUTHSOURCENAMEALREADYEXISTS = "FailedOperation.AuthSourceNameAlreadyExists" FAILEDOPERATION_AUTHSOURCENOTFOUND = "FailedOperation.AuthSourceNotFound" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" FAILEDOPERATION_USERPROPERTYCODEALREADYEXISTS = "FailedOperation.UserPropertyCodeAlreadyExists" FAILEDOPERATION_USERPROPERTYNOTFOUND = "FailedOperation.UserPropertyNotFound" FAILEDOPERATION_USERSTOREDOMAINALREADYEXISTS = "FailedOperation.UserStoreDomainAlreadyExists" FAILEDOPERATION_USERSTORENOTEXIST = "FailedOperation.UserStoreNotExist" INTERNALERROR = "InternalError" INTERNALERROR_JUDGEUSEREXISTEXCEPTION = "InternalError.JudgeUserExistException" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INTERNALERROR_USERSTOREDELETEUSERFAIL = "InternalError.UserStoreDeleteUserFail" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.EnabledAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEUPDATED = "UnsupportedOperation.EnabledAuthSourceCanNotBeUpdated" UNSUPPORTEDOPERATION_INTERNALUSERPROPERTY = "UnsupportedOperation.InternalUserProperty" UNSUPPORTEDOPERATION_LINKEDAPPUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAppUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBECLOSED = "UnsupportedOperation.LinkedAuthSourceCanNotBeClosed" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCEUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_PLATFORMDOMAINSUFFIXCANNOTBEUSED = "UnsupportedOperation.PlatformDomainSuffixCanNotBeUsed" UNSUPPORTEDOPERATION_WHENUSEREXISTUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.WhenUserExistUserPropertyCanNotBeDeleted"
func (*Client) DeleteUserStoreWithContext ¶ added in v1.0.693
func (c *Client) DeleteUserStoreWithContext(ctx context.Context, request *DeleteUserStoreRequest) (response *DeleteUserStoreResponse, err error)
DeleteUserStore 删除用户目录
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AUTHSOURCENAMEALREADYEXISTS = "FailedOperation.AuthSourceNameAlreadyExists" FAILEDOPERATION_AUTHSOURCENOTFOUND = "FailedOperation.AuthSourceNotFound" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" FAILEDOPERATION_USERPROPERTYCODEALREADYEXISTS = "FailedOperation.UserPropertyCodeAlreadyExists" FAILEDOPERATION_USERPROPERTYNOTFOUND = "FailedOperation.UserPropertyNotFound" FAILEDOPERATION_USERSTOREDOMAINALREADYEXISTS = "FailedOperation.UserStoreDomainAlreadyExists" FAILEDOPERATION_USERSTORENOTEXIST = "FailedOperation.UserStoreNotExist" INTERNALERROR = "InternalError" INTERNALERROR_JUDGEUSEREXISTEXCEPTION = "InternalError.JudgeUserExistException" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INTERNALERROR_USERSTOREDELETEUSERFAIL = "InternalError.UserStoreDeleteUserFail" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.EnabledAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEUPDATED = "UnsupportedOperation.EnabledAuthSourceCanNotBeUpdated" UNSUPPORTEDOPERATION_INTERNALUSERPROPERTY = "UnsupportedOperation.InternalUserProperty" UNSUPPORTEDOPERATION_LINKEDAPPUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAppUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBECLOSED = "UnsupportedOperation.LinkedAuthSourceCanNotBeClosed" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCEUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_PLATFORMDOMAINSUFFIXCANNOTBEUSED = "UnsupportedOperation.PlatformDomainSuffixCanNotBeUsed" UNSUPPORTEDOPERATION_WHENUSEREXISTUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.WhenUserExistUserPropertyCanNotBeDeleted"
func (*Client) DeleteUsers ¶ added in v1.0.421
func (c *Client) DeleteUsers(request *DeleteUsersRequest) (response *DeleteUsersResponse, err error)
DeleteUsers 批量删除用户
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteUsersWithContext ¶ added in v1.0.421
func (c *Client) DeleteUsersWithContext(ctx context.Context, request *DeleteUsersRequest) (response *DeleteUsersResponse, err error)
DeleteUsers 批量删除用户
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeUser ¶ added in v1.0.446
func (c *Client) DescribeUser(request *DescribeUserRequest) (response *DescribeUserResponse, err error)
DescribeUser 多条件查询用户信息
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUERYUSERSPARAMETERMUSTINWHITELIST = "FailedOperation.QueryUsersParameterMustInWhitelist" FAILEDOPERATION_QUERYUSERSPARAMETERREPEAT = "FailedOperation.QueryUsersParameterRepeat" FAILEDOPERATION_QUERYUSERSSORTPARAMETERMUSTINWHITELIST = "FailedOperation.QueryUsersSortParameterMustInWhitelist" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeUserById ¶ added in v1.0.421
func (c *Client) DescribeUserById(request *DescribeUserByIdRequest) (response *DescribeUserByIdResponse, err error)
DescribeUserById 根据ID查询用户信息
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeUserByIdWithContext ¶ added in v1.0.421
func (c *Client) DescribeUserByIdWithContext(ctx context.Context, request *DescribeUserByIdRequest) (response *DescribeUserByIdResponse, err error)
DescribeUserById 根据ID查询用户信息
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeUserWithContext ¶ added in v1.0.446
func (c *Client) DescribeUserWithContext(ctx context.Context, request *DescribeUserRequest) (response *DescribeUserResponse, err error)
DescribeUser 多条件查询用户信息
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUERYUSERSPARAMETERMUSTINWHITELIST = "FailedOperation.QueryUsersParameterMustInWhitelist" FAILEDOPERATION_QUERYUSERSPARAMETERREPEAT = "FailedOperation.QueryUsersParameterRepeat" FAILEDOPERATION_QUERYUSERSSORTPARAMETERMUSTINWHITELIST = "FailedOperation.QueryUsersSortParameterMustInWhitelist" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) LinkAccount ¶ added in v1.0.421
func (c *Client) LinkAccount(request *LinkAccountRequest) (response *LinkAccountResponse, err error)
LinkAccount 账号融合
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCOUNTALREADYBELINKED = "FailedOperation.AccountAlreadyBeLinked" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTATUSENUM = "FailedOperation.InvalidUserStatusEnum" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_PRIMARYUSERNOTFOUND = "FailedOperation.PrimaryUserNotFound" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" FAILEDOPERATION_SECONDARYUSERNOTFOUND = "FailedOperation.SecondaryUserNotFound" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) LinkAccountWithContext ¶ added in v1.0.421
func (c *Client) LinkAccountWithContext(ctx context.Context, request *LinkAccountRequest) (response *LinkAccountResponse, err error)
LinkAccount 账号融合
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCOUNTALREADYBELINKED = "FailedOperation.AccountAlreadyBeLinked" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTATUSENUM = "FailedOperation.InvalidUserStatusEnum" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_PRIMARYUSERNOTFOUND = "FailedOperation.PrimaryUserNotFound" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" FAILEDOPERATION_SECONDARYUSERNOTFOUND = "FailedOperation.SecondaryUserNotFound" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ListJobs ¶ added in v1.0.422
func (c *Client) ListJobs(request *ListJobsRequest) (response *ListJobsResponse, err error)
ListJobs 查询任务详情
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DATAFLOWTOOMANYREQUESTS = "FailedOperation.DataFlowTooManyRequests" FAILEDOPERATION_IMPORTUSERISEMPTY = "FailedOperation.ImportUserIsEmpty" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ListJobsWithContext ¶ added in v1.0.422
func (c *Client) ListJobsWithContext(ctx context.Context, request *ListJobsRequest) (response *ListJobsResponse, err error)
ListJobs 查询任务详情
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DATAFLOWTOOMANYREQUESTS = "FailedOperation.DataFlowTooManyRequests" FAILEDOPERATION_IMPORTUSERISEMPTY = "FailedOperation.ImportUserIsEmpty" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ListLogMessageByCondition ¶ added in v1.0.432
func (c *Client) ListLogMessageByCondition(request *ListLogMessageByConditionRequest) (response *ListLogMessageByConditionResponse, err error)
ListLogMessageByCondition 查询日志信息
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ListLogMessageByConditionWithContext ¶ added in v1.0.432
func (c *Client) ListLogMessageByConditionWithContext(ctx context.Context, request *ListLogMessageByConditionRequest) (response *ListLogMessageByConditionResponse, err error)
ListLogMessageByCondition 查询日志信息
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ListUser ¶ added in v1.0.421
func (c *Client) ListUser(request *ListUserRequest) (response *ListUserResponse, err error)
ListUser 查询用户列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ListUserByProperty ¶ added in v1.0.421
func (c *Client) ListUserByProperty(request *ListUserByPropertyRequest) (response *ListUserByPropertyResponse, err error)
ListUserByProperty 根据属性查询用户列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ListUserByPropertyWithContext ¶ added in v1.0.421
func (c *Client) ListUserByPropertyWithContext(ctx context.Context, request *ListUserByPropertyRequest) (response *ListUserByPropertyResponse, err error)
ListUserByProperty 根据属性查询用户列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ListUserGroups ¶ added in v1.0.693
func (c *Client) ListUserGroups(request *ListUserGroupsRequest) (response *ListUserGroupsResponse, err error)
ListUserGroups 查询用户组列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AUTHSOURCENAMEALREADYEXISTS = "FailedOperation.AuthSourceNameAlreadyExists" FAILEDOPERATION_AUTHSOURCENOTFOUND = "FailedOperation.AuthSourceNotFound" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" FAILEDOPERATION_USERPROPERTYCODEALREADYEXISTS = "FailedOperation.UserPropertyCodeAlreadyExists" FAILEDOPERATION_USERPROPERTYNOTFOUND = "FailedOperation.UserPropertyNotFound" FAILEDOPERATION_USERSTOREDOMAINALREADYEXISTS = "FailedOperation.UserStoreDomainAlreadyExists" INTERNALERROR = "InternalError" INTERNALERROR_JUDGEUSEREXISTEXCEPTION = "InternalError.JudgeUserExistException" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.EnabledAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEUPDATED = "UnsupportedOperation.EnabledAuthSourceCanNotBeUpdated" UNSUPPORTEDOPERATION_INTERNALUSERPROPERTY = "UnsupportedOperation.InternalUserProperty" UNSUPPORTEDOPERATION_LINKEDAPPUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAppUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBECLOSED = "UnsupportedOperation.LinkedAuthSourceCanNotBeClosed" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCEUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_PLATFORMDOMAINSUFFIXCANNOTBEUSED = "UnsupportedOperation.PlatformDomainSuffixCanNotBeUsed" UNSUPPORTEDOPERATION_WHENUSEREXISTUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.WhenUserExistUserPropertyCanNotBeDeleted"
func (*Client) ListUserGroupsWithContext ¶ added in v1.0.693
func (c *Client) ListUserGroupsWithContext(ctx context.Context, request *ListUserGroupsRequest) (response *ListUserGroupsResponse, err error)
ListUserGroups 查询用户组列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AUTHSOURCENAMEALREADYEXISTS = "FailedOperation.AuthSourceNameAlreadyExists" FAILEDOPERATION_AUTHSOURCENOTFOUND = "FailedOperation.AuthSourceNotFound" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" FAILEDOPERATION_USERPROPERTYCODEALREADYEXISTS = "FailedOperation.UserPropertyCodeAlreadyExists" FAILEDOPERATION_USERPROPERTYNOTFOUND = "FailedOperation.UserPropertyNotFound" FAILEDOPERATION_USERSTOREDOMAINALREADYEXISTS = "FailedOperation.UserStoreDomainAlreadyExists" INTERNALERROR = "InternalError" INTERNALERROR_JUDGEUSEREXISTEXCEPTION = "InternalError.JudgeUserExistException" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.EnabledAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEUPDATED = "UnsupportedOperation.EnabledAuthSourceCanNotBeUpdated" UNSUPPORTEDOPERATION_INTERNALUSERPROPERTY = "UnsupportedOperation.InternalUserProperty" UNSUPPORTEDOPERATION_LINKEDAPPUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAppUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBECLOSED = "UnsupportedOperation.LinkedAuthSourceCanNotBeClosed" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCEUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_PLATFORMDOMAINSUFFIXCANNOTBEUSED = "UnsupportedOperation.PlatformDomainSuffixCanNotBeUsed" UNSUPPORTEDOPERATION_WHENUSEREXISTUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.WhenUserExistUserPropertyCanNotBeDeleted"
func (*Client) ListUserStore ¶ added in v1.0.693
func (c *Client) ListUserStore(request *ListUserStoreRequest) (response *ListUserStoreResponse, err error)
ListUserStore 查询用户目录列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AUTHSOURCENAMEALREADYEXISTS = "FailedOperation.AuthSourceNameAlreadyExists" FAILEDOPERATION_AUTHSOURCENOTFOUND = "FailedOperation.AuthSourceNotFound" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" FAILEDOPERATION_USERPROPERTYCODEALREADYEXISTS = "FailedOperation.UserPropertyCodeAlreadyExists" FAILEDOPERATION_USERPROPERTYNOTFOUND = "FailedOperation.UserPropertyNotFound" FAILEDOPERATION_USERSTOREDOMAINALREADYEXISTS = "FailedOperation.UserStoreDomainAlreadyExists" INTERNALERROR = "InternalError" INTERNALERROR_JUDGEUSEREXISTEXCEPTION = "InternalError.JudgeUserExistException" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.EnabledAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEUPDATED = "UnsupportedOperation.EnabledAuthSourceCanNotBeUpdated" UNSUPPORTEDOPERATION_INTERNALUSERPROPERTY = "UnsupportedOperation.InternalUserProperty" UNSUPPORTEDOPERATION_LINKEDAPPUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAppUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBECLOSED = "UnsupportedOperation.LinkedAuthSourceCanNotBeClosed" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCEUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_PLATFORMDOMAINSUFFIXCANNOTBEUSED = "UnsupportedOperation.PlatformDomainSuffixCanNotBeUsed" UNSUPPORTEDOPERATION_WHENUSEREXISTUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.WhenUserExistUserPropertyCanNotBeDeleted"
func (*Client) ListUserStoreWithContext ¶ added in v1.0.693
func (c *Client) ListUserStoreWithContext(ctx context.Context, request *ListUserStoreRequest) (response *ListUserStoreResponse, err error)
ListUserStore 查询用户目录列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AUTHSOURCENAMEALREADYEXISTS = "FailedOperation.AuthSourceNameAlreadyExists" FAILEDOPERATION_AUTHSOURCENOTFOUND = "FailedOperation.AuthSourceNotFound" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" FAILEDOPERATION_USERPROPERTYCODEALREADYEXISTS = "FailedOperation.UserPropertyCodeAlreadyExists" FAILEDOPERATION_USERPROPERTYNOTFOUND = "FailedOperation.UserPropertyNotFound" FAILEDOPERATION_USERSTOREDOMAINALREADYEXISTS = "FailedOperation.UserStoreDomainAlreadyExists" INTERNALERROR = "InternalError" INTERNALERROR_JUDGEUSEREXISTEXCEPTION = "InternalError.JudgeUserExistException" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.EnabledAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEUPDATED = "UnsupportedOperation.EnabledAuthSourceCanNotBeUpdated" UNSUPPORTEDOPERATION_INTERNALUSERPROPERTY = "UnsupportedOperation.InternalUserProperty" UNSUPPORTEDOPERATION_LINKEDAPPUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAppUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBECLOSED = "UnsupportedOperation.LinkedAuthSourceCanNotBeClosed" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCEUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_PLATFORMDOMAINSUFFIXCANNOTBEUSED = "UnsupportedOperation.PlatformDomainSuffixCanNotBeUsed" UNSUPPORTEDOPERATION_WHENUSEREXISTUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.WhenUserExistUserPropertyCanNotBeDeleted"
func (*Client) ListUserWithContext ¶ added in v1.0.421
func (c *Client) ListUserWithContext(ctx context.Context, request *ListUserRequest) (response *ListUserResponse, err error)
ListUser 查询用户列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ResetPassword ¶
func (c *Client) ResetPassword(request *ResetPasswordRequest) (response *ResetPasswordResponse, err error)
ResetPassword 重置用户密码
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" FAILEDOPERATION_USERISFREEZE = "FailedOperation.UserIsFreeze" FAILEDOPERATION_USERNOTFOUND = "FailedOperation.UserNotFound" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ResetPasswordWithContext ¶
func (c *Client) ResetPasswordWithContext(ctx context.Context, request *ResetPasswordRequest) (response *ResetPasswordResponse, err error)
ResetPassword 重置用户密码
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" FAILEDOPERATION_USERISFREEZE = "FailedOperation.UserIsFreeze" FAILEDOPERATION_USERNOTFOUND = "FailedOperation.UserNotFound" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) SetPassword ¶ added in v1.0.421
func (c *Client) SetPassword(request *SetPasswordRequest) (response *SetPasswordResponse, err error)
SetPassword 设置用户密码
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_PASSWORDISNULL = "FailedOperation.PasswordIsNull" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" FAILEDOPERATION_USERISFREEZE = "FailedOperation.UserIsFreeze" FAILEDOPERATION_USERNOTFOUND = "FailedOperation.UserNotFound" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) SetPasswordWithContext ¶ added in v1.0.421
func (c *Client) SetPasswordWithContext(ctx context.Context, request *SetPasswordRequest) (response *SetPasswordResponse, err error)
SetPassword 设置用户密码
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_PASSWORDISNULL = "FailedOperation.PasswordIsNull" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" FAILEDOPERATION_USERISFREEZE = "FailedOperation.UserIsFreeze" FAILEDOPERATION_USERNOTFOUND = "FailedOperation.UserNotFound" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UpdateUser ¶ added in v1.0.421
func (c *Client) UpdateUser(request *UpdateUserRequest) (response *UpdateUserResponse, err error)
UpdateUser 更新用户
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ATTRIBUTEFORMATERROR = "FailedOperation.AttributeFormatError" FAILEDOPERATION_EMAILALREADYEXISTS = "FailedOperation.EmailAlreadyExists" FAILEDOPERATION_INDEXEDATTRIBUTETOOLONG = "FailedOperation.IndexedAttributeTooLong" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_PHONENUMBERALREADYEXISTS = "FailedOperation.PhoneNumberAlreadyExists" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" FAILEDOPERATION_USERGROUPNOTFOUND = "FailedOperation.UserGroupNotFound" FAILEDOPERATION_USERNAMEALREADYEXISTS = "FailedOperation.UserNameAlreadyExists" FAILEDOPERATION_USERNOTFOUND = "FailedOperation.UserNotFound" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UpdateUserGroup ¶ added in v1.0.693
func (c *Client) UpdateUserGroup(request *UpdateUserGroupRequest) (response *UpdateUserGroupResponse, err error)
UpdateUserGroup 更新用户组
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AUTHSOURCENAMEALREADYEXISTS = "FailedOperation.AuthSourceNameAlreadyExists" FAILEDOPERATION_AUTHSOURCENOTFOUND = "FailedOperation.AuthSourceNotFound" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" FAILEDOPERATION_USERGROUPNAMEALREADYEXISTS = "FailedOperation.UserGroupNameAlreadyExists" FAILEDOPERATION_USERGROUPNOTFOUND = "FailedOperation.UserGroupNotFound" FAILEDOPERATION_USERPROPERTYCODEALREADYEXISTS = "FailedOperation.UserPropertyCodeAlreadyExists" FAILEDOPERATION_USERPROPERTYNOTFOUND = "FailedOperation.UserPropertyNotFound" FAILEDOPERATION_USERSTOREDOMAINALREADYEXISTS = "FailedOperation.UserStoreDomainAlreadyExists" INTERNALERROR = "InternalError" INTERNALERROR_JUDGEUSEREXISTEXCEPTION = "InternalError.JudgeUserExistException" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.EnabledAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEUPDATED = "UnsupportedOperation.EnabledAuthSourceCanNotBeUpdated" UNSUPPORTEDOPERATION_INTERNALUSERPROPERTY = "UnsupportedOperation.InternalUserProperty" UNSUPPORTEDOPERATION_LINKEDAPPUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAppUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBECLOSED = "UnsupportedOperation.LinkedAuthSourceCanNotBeClosed" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCEUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_PLATFORMDOMAINSUFFIXCANNOTBEUSED = "UnsupportedOperation.PlatformDomainSuffixCanNotBeUsed" UNSUPPORTEDOPERATION_WHENUSEREXISTUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.WhenUserExistUserPropertyCanNotBeDeleted"
func (*Client) UpdateUserGroupWithContext ¶ added in v1.0.693
func (c *Client) UpdateUserGroupWithContext(ctx context.Context, request *UpdateUserGroupRequest) (response *UpdateUserGroupResponse, err error)
UpdateUserGroup 更新用户组
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AUTHSOURCENAMEALREADYEXISTS = "FailedOperation.AuthSourceNameAlreadyExists" FAILEDOPERATION_AUTHSOURCENOTFOUND = "FailedOperation.AuthSourceNotFound" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" FAILEDOPERATION_USERGROUPNAMEALREADYEXISTS = "FailedOperation.UserGroupNameAlreadyExists" FAILEDOPERATION_USERGROUPNOTFOUND = "FailedOperation.UserGroupNotFound" FAILEDOPERATION_USERPROPERTYCODEALREADYEXISTS = "FailedOperation.UserPropertyCodeAlreadyExists" FAILEDOPERATION_USERPROPERTYNOTFOUND = "FailedOperation.UserPropertyNotFound" FAILEDOPERATION_USERSTOREDOMAINALREADYEXISTS = "FailedOperation.UserStoreDomainAlreadyExists" INTERNALERROR = "InternalError" INTERNALERROR_JUDGEUSEREXISTEXCEPTION = "InternalError.JudgeUserExistException" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.EnabledAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEUPDATED = "UnsupportedOperation.EnabledAuthSourceCanNotBeUpdated" UNSUPPORTEDOPERATION_INTERNALUSERPROPERTY = "UnsupportedOperation.InternalUserProperty" UNSUPPORTEDOPERATION_LINKEDAPPUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAppUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBECLOSED = "UnsupportedOperation.LinkedAuthSourceCanNotBeClosed" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCEUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_PLATFORMDOMAINSUFFIXCANNOTBEUSED = "UnsupportedOperation.PlatformDomainSuffixCanNotBeUsed" UNSUPPORTEDOPERATION_WHENUSEREXISTUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.WhenUserExistUserPropertyCanNotBeDeleted"
func (*Client) UpdateUserStatus ¶ added in v1.0.421
func (c *Client) UpdateUserStatus(request *UpdateUserStatusRequest) (response *UpdateUserStatusResponse, err error)
UpdateUserStatus 更新用户状态
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTATUSENUM = "FailedOperation.InvalidUserStatusEnum" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" FAILEDOPERATION_USERNOTFOUND = "FailedOperation.UserNotFound" FAILEDOPERATION_USERSTATUSREQUIRED = "FailedOperation.UserStatusRequired" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UpdateUserStatusWithContext ¶ added in v1.0.421
func (c *Client) UpdateUserStatusWithContext(ctx context.Context, request *UpdateUserStatusRequest) (response *UpdateUserStatusResponse, err error)
UpdateUserStatus 更新用户状态
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTATUSENUM = "FailedOperation.InvalidUserStatusEnum" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" FAILEDOPERATION_USERNOTFOUND = "FailedOperation.UserNotFound" FAILEDOPERATION_USERSTATUSREQUIRED = "FailedOperation.UserStatusRequired" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UpdateUserStore ¶ added in v1.0.693
func (c *Client) UpdateUserStore(request *UpdateUserStoreRequest) (response *UpdateUserStoreResponse, err error)
UpdateUserStore 更新用户目录
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AUTHSOURCENAMEALREADYEXISTS = "FailedOperation.AuthSourceNameAlreadyExists" FAILEDOPERATION_AUTHSOURCENOTFOUND = "FailedOperation.AuthSourceNotFound" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" FAILEDOPERATION_USERPROPERTYCODEALREADYEXISTS = "FailedOperation.UserPropertyCodeAlreadyExists" FAILEDOPERATION_USERPROPERTYNOTFOUND = "FailedOperation.UserPropertyNotFound" FAILEDOPERATION_USERSTOREALREADYEXISTS = "FailedOperation.UserStoreAlreadyExists" FAILEDOPERATION_USERSTOREDOMAINALREADYEXISTS = "FailedOperation.UserStoreDomainAlreadyExists" FAILEDOPERATION_USERSTORENOTEXIST = "FailedOperation.UserStoreNotExist" INTERNALERROR = "InternalError" INTERNALERROR_JUDGEUSEREXISTEXCEPTION = "InternalError.JudgeUserExistException" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.EnabledAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEUPDATED = "UnsupportedOperation.EnabledAuthSourceCanNotBeUpdated" UNSUPPORTEDOPERATION_INTERNALUSERPROPERTY = "UnsupportedOperation.InternalUserProperty" UNSUPPORTEDOPERATION_LINKEDAPPUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAppUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBECLOSED = "UnsupportedOperation.LinkedAuthSourceCanNotBeClosed" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCEUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_PLATFORMDOMAINSUFFIXCANNOTBEUSED = "UnsupportedOperation.PlatformDomainSuffixCanNotBeUsed" UNSUPPORTEDOPERATION_WHENUSEREXISTUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.WhenUserExistUserPropertyCanNotBeDeleted"
func (*Client) UpdateUserStoreWithContext ¶ added in v1.0.693
func (c *Client) UpdateUserStoreWithContext(ctx context.Context, request *UpdateUserStoreRequest) (response *UpdateUserStoreResponse, err error)
UpdateUserStore 更新用户目录
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AUTHSOURCENAMEALREADYEXISTS = "FailedOperation.AuthSourceNameAlreadyExists" FAILEDOPERATION_AUTHSOURCENOTFOUND = "FailedOperation.AuthSourceNotFound" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" FAILEDOPERATION_USERPROPERTYCODEALREADYEXISTS = "FailedOperation.UserPropertyCodeAlreadyExists" FAILEDOPERATION_USERPROPERTYNOTFOUND = "FailedOperation.UserPropertyNotFound" FAILEDOPERATION_USERSTOREALREADYEXISTS = "FailedOperation.UserStoreAlreadyExists" FAILEDOPERATION_USERSTOREDOMAINALREADYEXISTS = "FailedOperation.UserStoreDomainAlreadyExists" FAILEDOPERATION_USERSTORENOTEXIST = "FailedOperation.UserStoreNotExist" INTERNALERROR = "InternalError" INTERNALERROR_JUDGEUSEREXISTEXCEPTION = "InternalError.JudgeUserExistException" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.EnabledAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_ENABLEDAUTHSOURCECANNOTBEUPDATED = "UnsupportedOperation.EnabledAuthSourceCanNotBeUpdated" UNSUPPORTEDOPERATION_INTERNALUSERPROPERTY = "UnsupportedOperation.InternalUserProperty" UNSUPPORTEDOPERATION_LINKEDAPPUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAppUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBECLOSED = "UnsupportedOperation.LinkedAuthSourceCanNotBeClosed" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCECANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDAUTHSOURCEUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedAuthSourceUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_LINKEDUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.LinkedUserPropertyCanNotBeDeleted" UNSUPPORTEDOPERATION_PLATFORMDOMAINSUFFIXCANNOTBEUSED = "UnsupportedOperation.PlatformDomainSuffixCanNotBeUsed" UNSUPPORTEDOPERATION_WHENUSEREXISTUSERPROPERTYCANNOTBEDELETED = "UnsupportedOperation.WhenUserExistUserPropertyCanNotBeDeleted"
func (*Client) UpdateUserWithContext ¶ added in v1.0.421
func (c *Client) UpdateUserWithContext(ctx context.Context, request *UpdateUserRequest) (response *UpdateUserResponse, err error)
UpdateUser 更新用户
可能返回的错误码:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ATTRIBUTEFORMATERROR = "FailedOperation.AttributeFormatError" FAILEDOPERATION_EMAILALREADYEXISTS = "FailedOperation.EmailAlreadyExists" FAILEDOPERATION_INDEXEDATTRIBUTETOOLONG = "FailedOperation.IndexedAttributeTooLong" FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant" FAILEDOPERATION_INVALIDUSERSTORE = "FailedOperation.InvalidUserStore" FAILEDOPERATION_PHONENUMBERALREADYEXISTS = "FailedOperation.PhoneNumberAlreadyExists" FAILEDOPERATION_QUOTALIMITEXCEEDED = "FailedOperation.QuotaLimitExceeded" FAILEDOPERATION_USERGROUPNOTFOUND = "FailedOperation.UserGroupNotFound" FAILEDOPERATION_USERNAMEALREADYEXISTS = "FailedOperation.UserNameAlreadyExists" FAILEDOPERATION_USERNOTFOUND = "FailedOperation.UserNotFound" INTERNALERROR = "InternalError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" REQUESTLIMITEXCEEDED_FREQUENTREQUEST = "RequestLimitExceeded.FrequentRequest" REQUESTLIMITEXCEEDED_REPEATREQUEST = "RequestLimitExceeded.RepeatRequest" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
type CreateApiImportUserJobRequest ¶ added in v1.0.422
type CreateApiImportUserJobRequest struct { *tchttp.BaseRequest // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 导入的用户数据 DataFlowUserCreateList []*ImportUser `json:"DataFlowUserCreateList,omitnil,omitempty" name:"DataFlowUserCreateList"` }
func NewCreateApiImportUserJobRequest ¶ added in v1.0.422
func NewCreateApiImportUserJobRequest() (request *CreateApiImportUserJobRequest)
func (*CreateApiImportUserJobRequest) FromJsonString ¶ added in v1.0.422
func (r *CreateApiImportUserJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateApiImportUserJobRequest) ToJsonString ¶ added in v1.0.422
func (r *CreateApiImportUserJobRequest) ToJsonString() string
type CreateApiImportUserJobRequestParams ¶ added in v1.0.426
type CreateApiImportUserJobRequestParams struct { // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 导入的用户数据 DataFlowUserCreateList []*ImportUser `json:"DataFlowUserCreateList,omitnil,omitempty" name:"DataFlowUserCreateList"` }
Predefined struct for user
type CreateApiImportUserJobResponse ¶ added in v1.0.422
type CreateApiImportUserJobResponse struct { *tchttp.BaseResponse Response *CreateApiImportUserJobResponseParams `json:"Response"` }
func NewCreateApiImportUserJobResponse ¶ added in v1.0.422
func NewCreateApiImportUserJobResponse() (response *CreateApiImportUserJobResponse)
func (*CreateApiImportUserJobResponse) FromJsonString ¶ added in v1.0.422
func (r *CreateApiImportUserJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateApiImportUserJobResponse) ToJsonString ¶ added in v1.0.422
func (r *CreateApiImportUserJobResponse) ToJsonString() string
type CreateApiImportUserJobResponseParams ¶ added in v1.0.426
type CreateApiImportUserJobResponseParams struct { // 数据流任务 Job *Job `json:"Job,omitnil,omitempty" name:"Job"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateFileExportUserJobRequest ¶ added in v1.0.422
type CreateFileExportUserJobRequest struct { *tchttp.BaseRequest // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 导出的数据类型 // // <li> **NDJSON** </li> New-line Delimited JSON // <li> **CSV** </li> Comma-Separated Values Format *string `json:"Format,omitnil,omitempty" name:"Format"` // Key可选值为condition、userGroupId // // <li> **condition** </li> Values = 查询条件,用户ID,用户名称,手机或邮箱 // <li> **userGroupId** </li> Values = 用户组ID Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 导出用户包含的属性和映射名称,为空时包含所有的属性 ExportPropertyMaps []*ExportPropertyMap `json:"ExportPropertyMaps,omitnil,omitempty" name:"ExportPropertyMaps"` }
func NewCreateFileExportUserJobRequest ¶ added in v1.0.422
func NewCreateFileExportUserJobRequest() (request *CreateFileExportUserJobRequest)
func (*CreateFileExportUserJobRequest) FromJsonString ¶ added in v1.0.422
func (r *CreateFileExportUserJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateFileExportUserJobRequest) ToJsonString ¶ added in v1.0.422
func (r *CreateFileExportUserJobRequest) ToJsonString() string
type CreateFileExportUserJobRequestParams ¶ added in v1.0.426
type CreateFileExportUserJobRequestParams struct { // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 导出的数据类型 // // <li> **NDJSON** </li> New-line Delimited JSON // <li> **CSV** </li> Comma-Separated Values Format *string `json:"Format,omitnil,omitempty" name:"Format"` // Key可选值为condition、userGroupId // // <li> **condition** </li> Values = 查询条件,用户ID,用户名称,手机或邮箱 // <li> **userGroupId** </li> Values = 用户组ID Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 导出用户包含的属性和映射名称,为空时包含所有的属性 ExportPropertyMaps []*ExportPropertyMap `json:"ExportPropertyMaps,omitnil,omitempty" name:"ExportPropertyMaps"` }
Predefined struct for user
type CreateFileExportUserJobResponse ¶ added in v1.0.422
type CreateFileExportUserJobResponse struct { *tchttp.BaseResponse Response *CreateFileExportUserJobResponseParams `json:"Response"` }
func NewCreateFileExportUserJobResponse ¶ added in v1.0.422
func NewCreateFileExportUserJobResponse() (response *CreateFileExportUserJobResponse)
func (*CreateFileExportUserJobResponse) FromJsonString ¶ added in v1.0.422
func (r *CreateFileExportUserJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateFileExportUserJobResponse) ToJsonString ¶ added in v1.0.422
func (r *CreateFileExportUserJobResponse) ToJsonString() string
type CreateFileExportUserJobResponseParams ¶ added in v1.0.426
type CreateFileExportUserJobResponseParams struct { // 数据流任务 Job *Job `json:"Job,omitnil,omitempty" name:"Job"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateUserGroupRequest ¶ added in v1.0.693
type CreateUserGroupRequest struct { *tchttp.BaseRequest // 用户组名称 DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"` // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 用户组描述 Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
func NewCreateUserGroupRequest ¶ added in v1.0.693
func NewCreateUserGroupRequest() (request *CreateUserGroupRequest)
func (*CreateUserGroupRequest) FromJsonString ¶ added in v1.0.693
func (r *CreateUserGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateUserGroupRequest) ToJsonString ¶ added in v1.0.693
func (r *CreateUserGroupRequest) ToJsonString() string
type CreateUserGroupRequestParams ¶ added in v1.0.693
type CreateUserGroupRequestParams struct { // 用户组名称 DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"` // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 用户组描述 Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
Predefined struct for user
type CreateUserGroupResponse ¶ added in v1.0.693
type CreateUserGroupResponse struct { *tchttp.BaseResponse Response *CreateUserGroupResponseParams `json:"Response"` }
func NewCreateUserGroupResponse ¶ added in v1.0.693
func NewCreateUserGroupResponse() (response *CreateUserGroupResponse)
func (*CreateUserGroupResponse) FromJsonString ¶ added in v1.0.693
func (r *CreateUserGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateUserGroupResponse) ToJsonString ¶ added in v1.0.693
func (r *CreateUserGroupResponse) ToJsonString() string
type CreateUserGroupResponseParams ¶ added in v1.0.693
type CreateUserGroupResponseParams struct { // 用户组ID UserGroupId *string `json:"UserGroupId,omitnil,omitempty" name:"UserGroupId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateUserRequest ¶ added in v1.0.421
type CreateUserRequest struct { *tchttp.BaseRequest // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 手机号码 PhoneNumber *string `json:"PhoneNumber,omitnil,omitempty" name:"PhoneNumber"` // 邮箱 Email *string `json:"Email,omitnil,omitempty" name:"Email"` // 密码 Password *string `json:"Password,omitnil,omitempty" name:"Password"` // 用户名 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // 昵称 Nickname *string `json:"Nickname,omitnil,omitempty" name:"Nickname"` // 地址 Address *string `json:"Address,omitnil,omitempty" name:"Address"` // 用户组ID UserGroup []*string `json:"UserGroup,omitnil,omitempty" name:"UserGroup"` // 生日 Birthdate *int64 `json:"Birthdate,omitnil,omitempty" name:"Birthdate"` // 自定义属性 CustomizationAttributes []*MemberMap `json:"CustomizationAttributes,omitnil,omitempty" name:"CustomizationAttributes"` // 索引字段1 IndexedAttribute1 *string `json:"IndexedAttribute1,omitnil,omitempty" name:"IndexedAttribute1"` // 索引字段2 IndexedAttribute2 *string `json:"IndexedAttribute2,omitnil,omitempty" name:"IndexedAttribute2"` // 索引字段3 IndexedAttribute3 *string `json:"IndexedAttribute3,omitnil,omitempty" name:"IndexedAttribute3"` // 索引字段4 IndexedAttribute4 *string `json:"IndexedAttribute4,omitnil,omitempty" name:"IndexedAttribute4"` // 索引字段5 IndexedAttribute5 *string `json:"IndexedAttribute5,omitnil,omitempty" name:"IndexedAttribute5"` }
func NewCreateUserRequest ¶ added in v1.0.421
func NewCreateUserRequest() (request *CreateUserRequest)
func (*CreateUserRequest) FromJsonString ¶ added in v1.0.421
func (r *CreateUserRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateUserRequest) ToJsonString ¶ added in v1.0.421
func (r *CreateUserRequest) ToJsonString() string
type CreateUserRequestParams ¶ added in v1.0.426
type CreateUserRequestParams struct { // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 手机号码 PhoneNumber *string `json:"PhoneNumber,omitnil,omitempty" name:"PhoneNumber"` // 邮箱 Email *string `json:"Email,omitnil,omitempty" name:"Email"` // 密码 Password *string `json:"Password,omitnil,omitempty" name:"Password"` // 用户名 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // 昵称 Nickname *string `json:"Nickname,omitnil,omitempty" name:"Nickname"` // 地址 Address *string `json:"Address,omitnil,omitempty" name:"Address"` // 用户组ID UserGroup []*string `json:"UserGroup,omitnil,omitempty" name:"UserGroup"` // 生日 Birthdate *int64 `json:"Birthdate,omitnil,omitempty" name:"Birthdate"` // 自定义属性 CustomizationAttributes []*MemberMap `json:"CustomizationAttributes,omitnil,omitempty" name:"CustomizationAttributes"` // 索引字段1 IndexedAttribute1 *string `json:"IndexedAttribute1,omitnil,omitempty" name:"IndexedAttribute1"` // 索引字段2 IndexedAttribute2 *string `json:"IndexedAttribute2,omitnil,omitempty" name:"IndexedAttribute2"` // 索引字段3 IndexedAttribute3 *string `json:"IndexedAttribute3,omitnil,omitempty" name:"IndexedAttribute3"` // 索引字段4 IndexedAttribute4 *string `json:"IndexedAttribute4,omitnil,omitempty" name:"IndexedAttribute4"` // 索引字段5 IndexedAttribute5 *string `json:"IndexedAttribute5,omitnil,omitempty" name:"IndexedAttribute5"` }
Predefined struct for user
type CreateUserResponse ¶ added in v1.0.421
type CreateUserResponse struct { *tchttp.BaseResponse Response *CreateUserResponseParams `json:"Response"` }
func NewCreateUserResponse ¶ added in v1.0.421
func NewCreateUserResponse() (response *CreateUserResponse)
func (*CreateUserResponse) FromJsonString ¶ added in v1.0.421
func (r *CreateUserResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateUserResponse) ToJsonString ¶ added in v1.0.421
func (r *CreateUserResponse) ToJsonString() string
type CreateUserResponseParams ¶ added in v1.0.426
type CreateUserResponseParams struct { // 创建的用户信息 // 注意:此字段可能返回 null,表示取不到有效值。 User *User `json:"User,omitnil,omitempty" name:"User"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateUserStoreRequest ¶ added in v1.0.693
type CreateUserStoreRequest struct { *tchttp.BaseRequest // 用户池名字 UserPoolName *string `json:"UserPoolName,omitnil,omitempty" name:"UserPoolName"` // 用户池描述 UserPoolDesc *string `json:"UserPoolDesc,omitnil,omitempty" name:"UserPoolDesc"` // 用户池logo UserPoolLogo *string `json:"UserPoolLogo,omitnil,omitempty" name:"UserPoolLogo"` }
func NewCreateUserStoreRequest ¶ added in v1.0.693
func NewCreateUserStoreRequest() (request *CreateUserStoreRequest)
func (*CreateUserStoreRequest) FromJsonString ¶ added in v1.0.693
func (r *CreateUserStoreRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateUserStoreRequest) ToJsonString ¶ added in v1.0.693
func (r *CreateUserStoreRequest) ToJsonString() string
type CreateUserStoreRequestParams ¶ added in v1.0.693
type CreateUserStoreRequestParams struct { // 用户池名字 UserPoolName *string `json:"UserPoolName,omitnil,omitempty" name:"UserPoolName"` // 用户池描述 UserPoolDesc *string `json:"UserPoolDesc,omitnil,omitempty" name:"UserPoolDesc"` // 用户池logo UserPoolLogo *string `json:"UserPoolLogo,omitnil,omitempty" name:"UserPoolLogo"` }
Predefined struct for user
type CreateUserStoreResponse ¶ added in v1.0.693
type CreateUserStoreResponse struct { *tchttp.BaseResponse Response *CreateUserStoreResponseParams `json:"Response"` }
func NewCreateUserStoreResponse ¶ added in v1.0.693
func NewCreateUserStoreResponse() (response *CreateUserStoreResponse)
func (*CreateUserStoreResponse) FromJsonString ¶ added in v1.0.693
func (r *CreateUserStoreResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateUserStoreResponse) ToJsonString ¶ added in v1.0.693
func (r *CreateUserStoreResponse) ToJsonString() string
type CreateUserStoreResponseParams ¶ added in v1.0.693
type CreateUserStoreResponseParams struct { // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteUserGroupsRequest ¶ added in v1.0.693
type DeleteUserGroupsRequest struct { *tchttp.BaseRequest // 用户组ID数组 UserGroupIds []*string `json:"UserGroupIds,omitnil,omitempty" name:"UserGroupIds"` // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` }
func NewDeleteUserGroupsRequest ¶ added in v1.0.693
func NewDeleteUserGroupsRequest() (request *DeleteUserGroupsRequest)
func (*DeleteUserGroupsRequest) FromJsonString ¶ added in v1.0.693
func (r *DeleteUserGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteUserGroupsRequest) ToJsonString ¶ added in v1.0.693
func (r *DeleteUserGroupsRequest) ToJsonString() string
type DeleteUserGroupsRequestParams ¶ added in v1.0.693
type DeleteUserGroupsRequestParams struct { // 用户组ID数组 UserGroupIds []*string `json:"UserGroupIds,omitnil,omitempty" name:"UserGroupIds"` // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` }
Predefined struct for user
type DeleteUserGroupsResponse ¶ added in v1.0.693
type DeleteUserGroupsResponse struct { *tchttp.BaseResponse Response *DeleteUserGroupsResponseParams `json:"Response"` }
func NewDeleteUserGroupsResponse ¶ added in v1.0.693
func NewDeleteUserGroupsResponse() (response *DeleteUserGroupsResponse)
func (*DeleteUserGroupsResponse) FromJsonString ¶ added in v1.0.693
func (r *DeleteUserGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteUserGroupsResponse) ToJsonString ¶ added in v1.0.693
func (r *DeleteUserGroupsResponse) ToJsonString() string
type DeleteUserGroupsResponseParams ¶ added in v1.0.693
type DeleteUserGroupsResponseParams struct { // 删除的用户组关联的应用信息 // 注意:此字段可能返回 null,表示取不到有效值。 UserGroupDeletedInfo *UserGroupDeleteResp `json:"UserGroupDeletedInfo,omitnil,omitempty" name:"UserGroupDeletedInfo"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteUserStoreRequest ¶ added in v1.0.693
type DeleteUserStoreRequest struct { *tchttp.BaseRequest // 用户池ID UserPoolId *string `json:"UserPoolId,omitnil,omitempty" name:"UserPoolId"` }
func NewDeleteUserStoreRequest ¶ added in v1.0.693
func NewDeleteUserStoreRequest() (request *DeleteUserStoreRequest)
func (*DeleteUserStoreRequest) FromJsonString ¶ added in v1.0.693
func (r *DeleteUserStoreRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteUserStoreRequest) ToJsonString ¶ added in v1.0.693
func (r *DeleteUserStoreRequest) ToJsonString() string
type DeleteUserStoreRequestParams ¶ added in v1.0.693
type DeleteUserStoreRequestParams struct { // 用户池ID UserPoolId *string `json:"UserPoolId,omitnil,omitempty" name:"UserPoolId"` }
Predefined struct for user
type DeleteUserStoreResponse ¶ added in v1.0.693
type DeleteUserStoreResponse struct { *tchttp.BaseResponse Response *DeleteUserStoreResponseParams `json:"Response"` }
func NewDeleteUserStoreResponse ¶ added in v1.0.693
func NewDeleteUserStoreResponse() (response *DeleteUserStoreResponse)
func (*DeleteUserStoreResponse) FromJsonString ¶ added in v1.0.693
func (r *DeleteUserStoreResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteUserStoreResponse) ToJsonString ¶ added in v1.0.693
func (r *DeleteUserStoreResponse) ToJsonString() string
type DeleteUserStoreResponseParams ¶ added in v1.0.693
type DeleteUserStoreResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteUsersRequest ¶ added in v1.0.421
type DeleteUsersRequest struct { *tchttp.BaseRequest // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 用户ID数组 UserIds []*string `json:"UserIds,omitnil,omitempty" name:"UserIds"` }
func NewDeleteUsersRequest ¶ added in v1.0.421
func NewDeleteUsersRequest() (request *DeleteUsersRequest)
func (*DeleteUsersRequest) FromJsonString ¶ added in v1.0.421
func (r *DeleteUsersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteUsersRequest) ToJsonString ¶ added in v1.0.421
func (r *DeleteUsersRequest) ToJsonString() string
type DeleteUsersRequestParams ¶ added in v1.0.426
type DeleteUsersRequestParams struct { // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 用户ID数组 UserIds []*string `json:"UserIds,omitnil,omitempty" name:"UserIds"` }
Predefined struct for user
type DeleteUsersResponse ¶ added in v1.0.421
type DeleteUsersResponse struct { *tchttp.BaseResponse Response *DeleteUsersResponseParams `json:"Response"` }
func NewDeleteUsersResponse ¶ added in v1.0.421
func NewDeleteUsersResponse() (response *DeleteUsersResponse)
func (*DeleteUsersResponse) FromJsonString ¶ added in v1.0.421
func (r *DeleteUsersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteUsersResponse) ToJsonString ¶ added in v1.0.421
func (r *DeleteUsersResponse) ToJsonString() string
type DeleteUsersResponseParams ¶ added in v1.0.426
type DeleteUsersResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeUserByIdRequest ¶ added in v1.0.421
type DescribeUserByIdRequest struct { *tchttp.BaseRequest // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 用户ID UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // 返回信息是否为原文 // // <li> **false** </li> 默认,返回信息为脱敏信息 // <li> **true** </li> 返回用户信息原文 Original *bool `json:"Original,omitnil,omitempty" name:"Original"` }
func NewDescribeUserByIdRequest ¶ added in v1.0.421
func NewDescribeUserByIdRequest() (request *DescribeUserByIdRequest)
func (*DescribeUserByIdRequest) FromJsonString ¶ added in v1.0.421
func (r *DescribeUserByIdRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUserByIdRequest) ToJsonString ¶ added in v1.0.421
func (r *DescribeUserByIdRequest) ToJsonString() string
type DescribeUserByIdRequestParams ¶ added in v1.0.426
type DescribeUserByIdRequestParams struct { // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 用户ID UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // 返回信息是否为原文 // // <li> **false** </li> 默认,返回信息为脱敏信息 // <li> **true** </li> 返回用户信息原文 Original *bool `json:"Original,omitnil,omitempty" name:"Original"` }
Predefined struct for user
type DescribeUserByIdResponse ¶ added in v1.0.421
type DescribeUserByIdResponse struct { *tchttp.BaseResponse Response *DescribeUserByIdResponseParams `json:"Response"` }
func NewDescribeUserByIdResponse ¶ added in v1.0.421
func NewDescribeUserByIdResponse() (response *DescribeUserByIdResponse)
func (*DescribeUserByIdResponse) FromJsonString ¶ added in v1.0.421
func (r *DescribeUserByIdResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUserByIdResponse) ToJsonString ¶ added in v1.0.421
func (r *DescribeUserByIdResponse) ToJsonString() string
type DescribeUserByIdResponseParams ¶ added in v1.0.426
type DescribeUserByIdResponseParams struct { // 用户信息 // 注意:此字段可能返回 null,表示取不到有效值。 User *User `json:"User,omitnil,omitempty" name:"User"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeUserRequest ¶ added in v1.0.446
type DescribeUserRequest struct { *tchttp.BaseRequest // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 分页数据 Pageable *Pageable `json:"Pageable,omitnil,omitempty" name:"Pageable"` // 查询条件,根据propertycode和propertykey Filters []*QueryUserFilter `json:"Filters,omitnil,omitempty" name:"Filters"` // 是否返回明文 Original *bool `json:"Original,omitnil,omitempty" name:"Original"` // 排序设置 Sort *Sort `json:"Sort,omitnil,omitempty" name:"Sort"` }
func NewDescribeUserRequest ¶ added in v1.0.446
func NewDescribeUserRequest() (request *DescribeUserRequest)
func (*DescribeUserRequest) FromJsonString ¶ added in v1.0.446
func (r *DescribeUserRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUserRequest) ToJsonString ¶ added in v1.0.446
func (r *DescribeUserRequest) ToJsonString() string
type DescribeUserRequestParams ¶ added in v1.0.446
type DescribeUserRequestParams struct { // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 分页数据 Pageable *Pageable `json:"Pageable,omitnil,omitempty" name:"Pageable"` // 查询条件,根据propertycode和propertykey Filters []*QueryUserFilter `json:"Filters,omitnil,omitempty" name:"Filters"` // 是否返回明文 Original *bool `json:"Original,omitnil,omitempty" name:"Original"` // 排序设置 Sort *Sort `json:"Sort,omitnil,omitempty" name:"Sort"` }
Predefined struct for user
type DescribeUserResponse ¶ added in v1.0.446
type DescribeUserResponse struct { *tchttp.BaseResponse Response *DescribeUserResponseParams `json:"Response"` }
func NewDescribeUserResponse ¶ added in v1.0.446
func NewDescribeUserResponse() (response *DescribeUserResponse)
func (*DescribeUserResponse) FromJsonString ¶ added in v1.0.446
func (r *DescribeUserResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUserResponse) ToJsonString ¶ added in v1.0.446
func (r *DescribeUserResponse) ToJsonString() string
type DescribeUserResponseParams ¶ added in v1.0.446
type DescribeUserResponseParams struct { // 总条数 // 注意:此字段可能返回 null,表示取不到有效值。 Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // 分页对象 // 注意:此字段可能返回 null,表示取不到有效值。 Pageable *Pageable `json:"Pageable,omitnil,omitempty" name:"Pageable"` // 用户列表 // 注意:此字段可能返回 null,表示取不到有效值。 Content []*User `json:"Content,omitnil,omitempty" name:"Content"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ErrorDetails ¶ added in v1.0.422
type ExportPropertyMap ¶ added in v1.0.422
type FailedUsers ¶ added in v1.0.422
type FailedUsers struct { // 失败用户标识 // 注意:此字段可能返回 null,表示取不到有效值。 FailedUserIdentification *string `json:"FailedUserIdentification,omitnil,omitempty" name:"FailedUserIdentification"` // 导入的用户失败原因 // 注意:此字段可能返回 null,表示取不到有效值。 FailedReason *string `json:"FailedReason,omitnil,omitempty" name:"FailedReason"` }
type ImportUser ¶ added in v1.0.422
type ImportUser struct { // 用户名 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // 手机号 PhoneNumber *string `json:"PhoneNumber,omitnil,omitempty" name:"PhoneNumber"` // 邮箱 Email *string `json:"Email,omitnil,omitempty" name:"Email"` // 身份证号 ResidentIdentityCard *string `json:"ResidentIdentityCard,omitnil,omitempty" name:"ResidentIdentityCard"` // 昵称 Nickname *string `json:"Nickname,omitnil,omitempty" name:"Nickname"` // 地址 Address *string `json:"Address,omitnil,omitempty" name:"Address"` // 用户组ID UserGroup []*string `json:"UserGroup,omitnil,omitempty" name:"UserGroup"` // QQ qqOpenId QqOpenId *string `json:"QqOpenId,omitnil,omitempty" name:"QqOpenId"` // QQ qqUnionId QqUnionId *string `json:"QqUnionId,omitnil,omitempty" name:"QqUnionId"` // 微信wechatOpenId WechatOpenId *string `json:"WechatOpenId,omitnil,omitempty" name:"WechatOpenId"` // 微信wechatUnionId WechatUnionId *string `json:"WechatUnionId,omitnil,omitempty" name:"WechatUnionId"` // 支付宝alipayUserId AlipayUserId *string `json:"AlipayUserId,omitnil,omitempty" name:"AlipayUserId"` // 描述 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 生日 Birthdate *string `json:"Birthdate,omitnil,omitempty" name:"Birthdate"` // 姓名 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 坐标 Locale *string `json:"Locale,omitnil,omitempty" name:"Locale"` // 性别(MALE;FEMALE;UNKNOWN) Gender *string `json:"Gender,omitnil,omitempty" name:"Gender"` // 实名核验方式 IdentityVerificationMethod *string `json:"IdentityVerificationMethod,omitnil,omitempty" name:"IdentityVerificationMethod"` // 是否已实名核验 IdentityVerified *bool `json:"IdentityVerified,omitnil,omitempty" name:"IdentityVerified"` // 工作 Job *string `json:"Job,omitnil,omitempty" name:"Job"` // 国家 Nationality *string `json:"Nationality,omitnil,omitempty" name:"Nationality"` // 时区 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 密码密文 Password *string `json:"Password,omitnil,omitempty" name:"Password"` // 自定义属性 CustomizationAttributes []*MemberMap `json:"CustomizationAttributes,omitnil,omitempty" name:"CustomizationAttributes"` // 密码盐 Salt *Salt `json:"Salt,omitnil,omitempty" name:"Salt"` // 密码加密方式(SHA1;BCRYPT) PasswordEncryptTypeEnum *string `json:"PasswordEncryptTypeEnum,omitnil,omitempty" name:"PasswordEncryptTypeEnum"` // 索引字段1 IndexedAttribute1 *string `json:"IndexedAttribute1,omitnil,omitempty" name:"IndexedAttribute1"` // 索引字段2 IndexedAttribute2 *string `json:"IndexedAttribute2,omitnil,omitempty" name:"IndexedAttribute2"` // 索引字段3 IndexedAttribute3 *string `json:"IndexedAttribute3,omitnil,omitempty" name:"IndexedAttribute3"` // 索引字段4 IndexedAttribute4 *string `json:"IndexedAttribute4,omitnil,omitempty" name:"IndexedAttribute4"` // 索引字段5 IndexedAttribute5 *string `json:"IndexedAttribute5,omitnil,omitempty" name:"IndexedAttribute5"` }
type Job ¶ added in v1.0.422
type Job struct { // 任务ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 任务状态 // // <li> **PENDING** </li> 待执行 // <li> **PROCESSING** </li> 执行中 // <li> **COMPLETED** </li> 完成 // <li> **FAILED** </li> 失败 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 任务类型 // // <li> **IMPORT_USER** </li> 用户导入 // <li> **EXPORT_USER** </li> 用户导出 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 任务创建时间 CreatedDate *int64 `json:"CreatedDate,omitnil,omitempty" name:"CreatedDate"` // 任务的数据类型 // // <li> **NDJSON** </li> New-line Delimited JSON // <li> **CSV** </li> Comma-Separated Values // 注意:此字段可能返回 null,表示取不到有效值。 Format *string `json:"Format,omitnil,omitempty" name:"Format"` // 任务结果下载地址 // 注意:此字段可能返回 null,表示取不到有效值。 Location *string `json:"Location,omitnil,omitempty" name:"Location"` // 失败详情 // 注意:此字段可能返回 null,表示取不到有效值。 ErrorDetails []*ErrorDetails `json:"ErrorDetails,omitnil,omitempty" name:"ErrorDetails"` // 失败的用户 // 注意:此字段可能返回 null,表示取不到有效值。 FailedUsers []*FailedUsers `json:"FailedUsers,omitnil,omitempty" name:"FailedUsers"` }
type LinkAccountRequest ¶ added in v1.0.421
type LinkAccountRequest struct { *tchttp.BaseRequest // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 主用户ID PrimaryUserId *string `json:"PrimaryUserId,omitnil,omitempty" name:"PrimaryUserId"` // 从用户ID SecondaryUserId *string `json:"SecondaryUserId,omitnil,omitempty" name:"SecondaryUserId"` // 融合属性 // // <li> **PHONENUMBER** </li> 手机号码 // <li> **EMAIL** </li> 邮箱 UserLinkedOnAttribute *string `json:"UserLinkedOnAttribute,omitnil,omitempty" name:"UserLinkedOnAttribute"` }
func NewLinkAccountRequest ¶ added in v1.0.421
func NewLinkAccountRequest() (request *LinkAccountRequest)
func (*LinkAccountRequest) FromJsonString ¶ added in v1.0.421
func (r *LinkAccountRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*LinkAccountRequest) ToJsonString ¶ added in v1.0.421
func (r *LinkAccountRequest) ToJsonString() string
type LinkAccountRequestParams ¶ added in v1.0.426
type LinkAccountRequestParams struct { // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 主用户ID PrimaryUserId *string `json:"PrimaryUserId,omitnil,omitempty" name:"PrimaryUserId"` // 从用户ID SecondaryUserId *string `json:"SecondaryUserId,omitnil,omitempty" name:"SecondaryUserId"` // 融合属性 // // <li> **PHONENUMBER** </li> 手机号码 // <li> **EMAIL** </li> 邮箱 UserLinkedOnAttribute *string `json:"UserLinkedOnAttribute,omitnil,omitempty" name:"UserLinkedOnAttribute"` }
Predefined struct for user
type LinkAccountResponse ¶ added in v1.0.421
type LinkAccountResponse struct { *tchttp.BaseResponse Response *LinkAccountResponseParams `json:"Response"` }
func NewLinkAccountResponse ¶ added in v1.0.421
func NewLinkAccountResponse() (response *LinkAccountResponse)
func (*LinkAccountResponse) FromJsonString ¶ added in v1.0.421
func (r *LinkAccountResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*LinkAccountResponse) ToJsonString ¶ added in v1.0.421
func (r *LinkAccountResponse) ToJsonString() string
type LinkAccountResponseParams ¶ added in v1.0.426
type LinkAccountResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ListJobsRequest ¶ added in v1.0.422
type ListJobsRequest struct { *tchttp.BaseRequest // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 任务ID列表,为空时返回全部任务 JobIds []*string `json:"JobIds,omitnil,omitempty" name:"JobIds"` }
func NewListJobsRequest ¶ added in v1.0.422
func NewListJobsRequest() (request *ListJobsRequest)
func (*ListJobsRequest) FromJsonString ¶ added in v1.0.422
func (r *ListJobsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListJobsRequest) ToJsonString ¶ added in v1.0.422
func (r *ListJobsRequest) ToJsonString() string
type ListJobsRequestParams ¶ added in v1.0.426
type ListJobsRequestParams struct { // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 任务ID列表,为空时返回全部任务 JobIds []*string `json:"JobIds,omitnil,omitempty" name:"JobIds"` }
Predefined struct for user
type ListJobsResponse ¶ added in v1.0.422
type ListJobsResponse struct { *tchttp.BaseResponse Response *ListJobsResponseParams `json:"Response"` }
func NewListJobsResponse ¶ added in v1.0.422
func NewListJobsResponse() (response *ListJobsResponse)
func (*ListJobsResponse) FromJsonString ¶ added in v1.0.422
func (r *ListJobsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListJobsResponse) ToJsonString ¶ added in v1.0.422
func (r *ListJobsResponse) ToJsonString() string
type ListJobsResponseParams ¶ added in v1.0.426
type ListJobsResponseParams struct { // 任务列表 // 注意:此字段可能返回 null,表示取不到有效值。 JobSet []*Job `json:"JobSet,omitnil,omitempty" name:"JobSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ListLogMessageByConditionRequest ¶ added in v1.0.432
type ListLogMessageByConditionRequest struct { *tchttp.BaseRequest // 用户池ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 分页数据 Pageable *Pageable `json:"Pageable,omitnil,omitempty" name:"Pageable"` // 开始时间,时间戳精确到毫秒 StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Key可选值为events // // <li> **events** </li> Values为["SIGNUP", "USER_UPDATE", "USER_DELETE", "USER_CREATE", "ACCOUNT_LINKING"] 中的一个或多个 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewListLogMessageByConditionRequest ¶ added in v1.0.432
func NewListLogMessageByConditionRequest() (request *ListLogMessageByConditionRequest)
func (*ListLogMessageByConditionRequest) FromJsonString ¶ added in v1.0.432
func (r *ListLogMessageByConditionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListLogMessageByConditionRequest) ToJsonString ¶ added in v1.0.432
func (r *ListLogMessageByConditionRequest) ToJsonString() string
type ListLogMessageByConditionRequestParams ¶ added in v1.0.432
type ListLogMessageByConditionRequestParams struct { // 用户池ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 分页数据 Pageable *Pageable `json:"Pageable,omitnil,omitempty" name:"Pageable"` // 开始时间,时间戳精确到毫秒 StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Key可选值为events // // <li> **events** </li> Values为["SIGNUP", "USER_UPDATE", "USER_DELETE", "USER_CREATE", "ACCOUNT_LINKING"] 中的一个或多个 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type ListLogMessageByConditionResponse ¶ added in v1.0.432
type ListLogMessageByConditionResponse struct { *tchttp.BaseResponse Response *ListLogMessageByConditionResponseParams `json:"Response"` }
func NewListLogMessageByConditionResponse ¶ added in v1.0.432
func NewListLogMessageByConditionResponse() (response *ListLogMessageByConditionResponse)
func (*ListLogMessageByConditionResponse) FromJsonString ¶ added in v1.0.432
func (r *ListLogMessageByConditionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListLogMessageByConditionResponse) ToJsonString ¶ added in v1.0.432
func (r *ListLogMessageByConditionResponse) ToJsonString() string
type ListLogMessageByConditionResponseParams ¶ added in v1.0.432
type ListLogMessageByConditionResponseParams struct { // 总条数 Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // 分页对象 Pageable *Pageable `json:"Pageable,omitnil,omitempty" name:"Pageable"` // 日志列表 // 注意:此字段可能返回 null,表示取不到有效值。 Content []*LogMessage `json:"Content,omitnil,omitempty" name:"Content"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ListUserByPropertyRequest ¶ added in v1.0.421
type ListUserByPropertyRequest struct { *tchttp.BaseRequest // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 查询的属性 // // <li> **phoneNumber** </li> 手机号码 // <li> **email** </li> 邮箱 PropertyCode *string `json:"PropertyCode,omitnil,omitempty" name:"PropertyCode"` // 属性值 PropertyValue *string `json:"PropertyValue,omitnil,omitempty" name:"PropertyValue"` // 返回信息是否为原文 Original *bool `json:"Original,omitnil,omitempty" name:"Original"` }
func NewListUserByPropertyRequest ¶ added in v1.0.421
func NewListUserByPropertyRequest() (request *ListUserByPropertyRequest)
func (*ListUserByPropertyRequest) FromJsonString ¶ added in v1.0.421
func (r *ListUserByPropertyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListUserByPropertyRequest) ToJsonString ¶ added in v1.0.421
func (r *ListUserByPropertyRequest) ToJsonString() string
type ListUserByPropertyRequestParams ¶ added in v1.0.426
type ListUserByPropertyRequestParams struct { // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 查询的属性 // // <li> **phoneNumber** </li> 手机号码 // <li> **email** </li> 邮箱 PropertyCode *string `json:"PropertyCode,omitnil,omitempty" name:"PropertyCode"` // 属性值 PropertyValue *string `json:"PropertyValue,omitnil,omitempty" name:"PropertyValue"` // 返回信息是否为原文 Original *bool `json:"Original,omitnil,omitempty" name:"Original"` }
Predefined struct for user
type ListUserByPropertyResponse ¶ added in v1.0.421
type ListUserByPropertyResponse struct { *tchttp.BaseResponse Response *ListUserByPropertyResponseParams `json:"Response"` }
func NewListUserByPropertyResponse ¶ added in v1.0.421
func NewListUserByPropertyResponse() (response *ListUserByPropertyResponse)
func (*ListUserByPropertyResponse) FromJsonString ¶ added in v1.0.421
func (r *ListUserByPropertyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListUserByPropertyResponse) ToJsonString ¶ added in v1.0.421
func (r *ListUserByPropertyResponse) ToJsonString() string
type ListUserByPropertyResponseParams ¶ added in v1.0.426
type ListUserByPropertyResponseParams struct { // 用户列表 // 注意:此字段可能返回 null,表示取不到有效值。 Users []*User `json:"Users,omitnil,omitempty" name:"Users"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ListUserGroupsRequest ¶ added in v1.0.693
type ListUserGroupsRequest struct { *tchttp.BaseRequest // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 分页数据 Pageable *Pageable `json:"Pageable,omitnil,omitempty" name:"Pageable"` // Key可选值为condition // // <li> **condition** </li> Values = 查询条件,用户组ID或用户组名称 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewListUserGroupsRequest ¶ added in v1.0.693
func NewListUserGroupsRequest() (request *ListUserGroupsRequest)
func (*ListUserGroupsRequest) FromJsonString ¶ added in v1.0.693
func (r *ListUserGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListUserGroupsRequest) ToJsonString ¶ added in v1.0.693
func (r *ListUserGroupsRequest) ToJsonString() string
type ListUserGroupsRequestParams ¶ added in v1.0.693
type ListUserGroupsRequestParams struct { // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 分页数据 Pageable *Pageable `json:"Pageable,omitnil,omitempty" name:"Pageable"` // Key可选值为condition // // <li> **condition** </li> Values = 查询条件,用户组ID或用户组名称 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type ListUserGroupsResponse ¶ added in v1.0.693
type ListUserGroupsResponse struct { *tchttp.BaseResponse Response *ListUserGroupsResponseParams `json:"Response"` }
func NewListUserGroupsResponse ¶ added in v1.0.693
func NewListUserGroupsResponse() (response *ListUserGroupsResponse)
func (*ListUserGroupsResponse) FromJsonString ¶ added in v1.0.693
func (r *ListUserGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListUserGroupsResponse) ToJsonString ¶ added in v1.0.693
func (r *ListUserGroupsResponse) ToJsonString() string
type ListUserGroupsResponseParams ¶ added in v1.0.693
type ListUserGroupsResponseParams struct { // 用户组列表 // 注意:此字段可能返回 null,表示取不到有效值。 Content []*UserGroup `json:"Content,omitnil,omitempty" name:"Content"` // 总条数 // 注意:此字段可能返回 null,表示取不到有效值。 Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // 分页 // 注意:此字段可能返回 null,表示取不到有效值。 Pageable *Pageable `json:"Pageable,omitnil,omitempty" name:"Pageable"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ListUserRequest ¶ added in v1.0.421
type ListUserRequest struct { *tchttp.BaseRequest // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 分页数据 Pageable *Pageable `json:"Pageable,omitnil,omitempty" name:"Pageable"` // Key可选值为condition、userGroupId // // <li> **condition** </li> Values = 查询条件,用户ID,用户名称,手机或邮箱 // <li> **userGroupId** </li> Values = 用户组ID Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 返回信息是否为原文 Original *bool `json:"Original,omitnil,omitempty" name:"Original"` }
func NewListUserRequest ¶ added in v1.0.421
func NewListUserRequest() (request *ListUserRequest)
func (*ListUserRequest) FromJsonString ¶ added in v1.0.421
func (r *ListUserRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListUserRequest) ToJsonString ¶ added in v1.0.421
func (r *ListUserRequest) ToJsonString() string
type ListUserRequestParams ¶ added in v1.0.426
type ListUserRequestParams struct { // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 分页数据 Pageable *Pageable `json:"Pageable,omitnil,omitempty" name:"Pageable"` // Key可选值为condition、userGroupId // // <li> **condition** </li> Values = 查询条件,用户ID,用户名称,手机或邮箱 // <li> **userGroupId** </li> Values = 用户组ID Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 返回信息是否为原文 Original *bool `json:"Original,omitnil,omitempty" name:"Original"` }
Predefined struct for user
type ListUserResponse ¶ added in v1.0.421
type ListUserResponse struct { *tchttp.BaseResponse Response *ListUserResponseParams `json:"Response"` }
func NewListUserResponse ¶ added in v1.0.421
func NewListUserResponse() (response *ListUserResponse)
func (*ListUserResponse) FromJsonString ¶ added in v1.0.421
func (r *ListUserResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListUserResponse) ToJsonString ¶ added in v1.0.421
func (r *ListUserResponse) ToJsonString() string
type ListUserResponseParams ¶ added in v1.0.426
type ListUserResponseParams struct { // 总条数 // 注意:此字段可能返回 null,表示取不到有效值。 Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // 分页对象 // 注意:此字段可能返回 null,表示取不到有效值。 Pageable *Pageable `json:"Pageable,omitnil,omitempty" name:"Pageable"` // 用户列表 // 注意:此字段可能返回 null,表示取不到有效值。 Content []*User `json:"Content,omitnil,omitempty" name:"Content"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ListUserStoreRequest ¶ added in v1.0.693
type ListUserStoreRequest struct {
*tchttp.BaseRequest
}
func NewListUserStoreRequest ¶ added in v1.0.693
func NewListUserStoreRequest() (request *ListUserStoreRequest)
func (*ListUserStoreRequest) FromJsonString ¶ added in v1.0.693
func (r *ListUserStoreRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListUserStoreRequest) ToJsonString ¶ added in v1.0.693
func (r *ListUserStoreRequest) ToJsonString() string
type ListUserStoreRequestParams ¶ added in v1.0.693
type ListUserStoreRequestParams struct { }
Predefined struct for user
type ListUserStoreResponse ¶ added in v1.0.693
type ListUserStoreResponse struct { *tchttp.BaseResponse Response *ListUserStoreResponseParams `json:"Response"` }
func NewListUserStoreResponse ¶ added in v1.0.693
func NewListUserStoreResponse() (response *ListUserStoreResponse)
func (*ListUserStoreResponse) FromJsonString ¶ added in v1.0.693
func (r *ListUserStoreResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListUserStoreResponse) ToJsonString ¶ added in v1.0.693
func (r *ListUserStoreResponse) ToJsonString() string
type ListUserStoreResponseParams ¶ added in v1.0.693
type ListUserStoreResponseParams struct { // 用户目录列表 // 注意:此字段可能返回 null,表示取不到有效值。 UserStoreSet []*UserStore `json:"UserStoreSet,omitnil,omitempty" name:"UserStoreSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type LogMessage ¶ added in v1.0.432
type LogMessage struct { // 日志标识 LogId *string `json:"LogId,omitnil,omitempty" name:"LogId"` // 租户ID // 注意:此字段可能返回 null,表示取不到有效值。 TenantId *string `json:"TenantId,omitnil,omitempty" name:"TenantId"` // 用户池ID // 注意:此字段可能返回 null,表示取不到有效值。 UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 事件编码 // 注意:此字段可能返回 null,表示取不到有效值。 EventCode *string `json:"EventCode,omitnil,omitempty" name:"EventCode"` // 事件发生时间戳,单位:毫秒 // 注意:此字段可能返回 null,表示取不到有效值。 EventDate *int64 `json:"EventDate,omitnil,omitempty" name:"EventDate"` // 描述 // 注意:此字段可能返回 null,表示取不到有效值。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 事件参与者 // // <li> **TENANT** </li> 租户 // <li> **USER** </li> 用户 // 注意:此字段可能返回 null,表示取不到有效值。 Participant *string `json:"Participant,omitnil,omitempty" name:"Participant"` // 应用clientId // 注意:此字段可能返回 null,表示取不到有效值。 ApplicationClientId *string `json:"ApplicationClientId,omitnil,omitempty" name:"ApplicationClientId"` // 应用名称 // 注意:此字段可能返回 null,表示取不到有效值。 ApplicationName *string `json:"ApplicationName,omitnil,omitempty" name:"ApplicationName"` // 认证源ID // 注意:此字段可能返回 null,表示取不到有效值。 AuthSourceId *string `json:"AuthSourceId,omitnil,omitempty" name:"AuthSourceId"` // 认证源名称 // 注意:此字段可能返回 null,表示取不到有效值。 AuthSourceName *string `json:"AuthSourceName,omitnil,omitempty" name:"AuthSourceName"` // 认证源类型 // 注意:此字段可能返回 null,表示取不到有效值。 AuthSourceType *string `json:"AuthSourceType,omitnil,omitempty" name:"AuthSourceType"` // 认证源类别 // 注意:此字段可能返回 null,表示取不到有效值。 AuthSourceCategory *string `json:"AuthSourceCategory,omitnil,omitempty" name:"AuthSourceCategory"` // IP地址 // 注意:此字段可能返回 null,表示取不到有效值。 Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // 用户代理 // 注意:此字段可能返回 null,表示取不到有效值。 UserAgent *string `json:"UserAgent,omitnil,omitempty" name:"UserAgent"` // 用户ID // 注意:此字段可能返回 null,表示取不到有效值。 UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // 详情 // 注意:此字段可能返回 null,表示取不到有效值。 Detail *string `json:"Detail,omitnil,omitempty" name:"Detail"` }
type QueryUserFilter ¶ added in v1.0.446
type QueryUserFilter struct { // 属性key PropertyKey *string `json:"PropertyKey,omitnil,omitempty" name:"PropertyKey"` // 属性value PropertyValue *string `json:"PropertyValue,omitnil,omitempty" name:"PropertyValue"` // 逻辑值,等于true,不等于false Logic *bool `json:"Logic,omitnil,omitempty" name:"Logic"` // 操作逻辑符(支持> < = >= <= != between) OperateLogic *string `json:"OperateLogic,omitnil,omitempty" name:"OperateLogic"` }
type ResetPasswordRequest ¶
type ResetPasswordRequest struct { *tchttp.BaseRequest // 用户ID UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` }
func NewResetPasswordRequest ¶
func NewResetPasswordRequest() (request *ResetPasswordRequest)
func (*ResetPasswordRequest) FromJsonString ¶
func (r *ResetPasswordRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetPasswordRequest) ToJsonString ¶
func (r *ResetPasswordRequest) ToJsonString() string
type ResetPasswordRequestParams ¶ added in v1.0.426
type ResetPasswordRequestParams struct { // 用户ID UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` }
Predefined struct for user
type ResetPasswordResponse ¶
type ResetPasswordResponse struct { *tchttp.BaseResponse Response *ResetPasswordResponseParams `json:"Response"` }
func NewResetPasswordResponse ¶
func NewResetPasswordResponse() (response *ResetPasswordResponse)
func (*ResetPasswordResponse) FromJsonString ¶
func (r *ResetPasswordResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetPasswordResponse) ToJsonString ¶
func (r *ResetPasswordResponse) ToJsonString() string
type ResetPasswordResponseParams ¶ added in v1.0.426
type ResetPasswordResponseParams struct { // 重置后的用户密码 Password *string `json:"Password,omitnil,omitempty" name:"Password"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Salt ¶ added in v1.0.422
type Salt struct { // 盐值 SaltValue *string `json:"SaltValue,omitnil,omitempty" name:"SaltValue"` // 盐值位置 SaltLocation *SaltLocation `json:"SaltLocation,omitnil,omitempty" name:"SaltLocation"` }
type SaltLocation ¶ added in v1.0.422
type SaltLocation struct { // 密码加盐的类型(HEAD,TAIL,OTHER) SaltLocationTypeEnum *string `json:"SaltLocationTypeEnum,omitnil,omitempty" name:"SaltLocationTypeEnum"` // 加盐规则 SaltLocationRule *SaltLocationRule `json:"SaltLocationRule,omitnil,omitempty" name:"SaltLocationRule"` }
type SaltLocationRule ¶ added in v1.0.423
type SaltLocationRule struct { // 表达式 Regex *string `json:"Regex,omitnil,omitempty" name:"Regex"` }
type SetPasswordRequest ¶ added in v1.0.421
type SetPasswordRequest struct { *tchttp.BaseRequest // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 用户ID UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // 密码 Password *string `json:"Password,omitnil,omitempty" name:"Password"` }
func NewSetPasswordRequest ¶ added in v1.0.421
func NewSetPasswordRequest() (request *SetPasswordRequest)
func (*SetPasswordRequest) FromJsonString ¶ added in v1.0.421
func (r *SetPasswordRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetPasswordRequest) ToJsonString ¶ added in v1.0.421
func (r *SetPasswordRequest) ToJsonString() string
type SetPasswordRequestParams ¶ added in v1.0.426
type SetPasswordRequestParams struct { // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 用户ID UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // 密码 Password *string `json:"Password,omitnil,omitempty" name:"Password"` }
Predefined struct for user
type SetPasswordResponse ¶ added in v1.0.421
type SetPasswordResponse struct { *tchttp.BaseResponse Response *SetPasswordResponseParams `json:"Response"` }
func NewSetPasswordResponse ¶ added in v1.0.421
func NewSetPasswordResponse() (response *SetPasswordResponse)
func (*SetPasswordResponse) FromJsonString ¶ added in v1.0.421
func (r *SetPasswordResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetPasswordResponse) ToJsonString ¶ added in v1.0.421
func (r *SetPasswordResponse) ToJsonString() string
type SetPasswordResponseParams ¶ added in v1.0.426
type SetPasswordResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateUserGroupRequest ¶ added in v1.0.693
type UpdateUserGroupRequest struct { *tchttp.BaseRequest // 用户组ID UserGroupId *string `json:"UserGroupId,omitnil,omitempty" name:"UserGroupId"` // 用户组名称 DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"` // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 用户组描述 Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
func NewUpdateUserGroupRequest ¶ added in v1.0.693
func NewUpdateUserGroupRequest() (request *UpdateUserGroupRequest)
func (*UpdateUserGroupRequest) FromJsonString ¶ added in v1.0.693
func (r *UpdateUserGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateUserGroupRequest) ToJsonString ¶ added in v1.0.693
func (r *UpdateUserGroupRequest) ToJsonString() string
type UpdateUserGroupRequestParams ¶ added in v1.0.693
type UpdateUserGroupRequestParams struct { // 用户组ID UserGroupId *string `json:"UserGroupId,omitnil,omitempty" name:"UserGroupId"` // 用户组名称 DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"` // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 用户组描述 Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
Predefined struct for user
type UpdateUserGroupResponse ¶ added in v1.0.693
type UpdateUserGroupResponse struct { *tchttp.BaseResponse Response *UpdateUserGroupResponseParams `json:"Response"` }
func NewUpdateUserGroupResponse ¶ added in v1.0.693
func NewUpdateUserGroupResponse() (response *UpdateUserGroupResponse)
func (*UpdateUserGroupResponse) FromJsonString ¶ added in v1.0.693
func (r *UpdateUserGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateUserGroupResponse) ToJsonString ¶ added in v1.0.693
func (r *UpdateUserGroupResponse) ToJsonString() string
type UpdateUserGroupResponseParams ¶ added in v1.0.693
type UpdateUserGroupResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateUserRequest ¶ added in v1.0.421
type UpdateUserRequest struct { *tchttp.BaseRequest // 用户ID UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 用户名称 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // 手机号码 PhoneNumber *string `json:"PhoneNumber,omitnil,omitempty" name:"PhoneNumber"` // 邮箱 Email *string `json:"Email,omitnil,omitempty" name:"Email"` // 昵称 Nickname *string `json:"Nickname,omitnil,omitempty" name:"Nickname"` // 地址 Address *string `json:"Address,omitnil,omitempty" name:"Address"` // 用户组 UserGroup []*string `json:"UserGroup,omitnil,omitempty" name:"UserGroup"` // 生日 Birthdate *int64 `json:"Birthdate,omitnil,omitempty" name:"Birthdate"` // 自定义属性 CustomizationAttributes []*MemberMap `json:"CustomizationAttributes,omitnil,omitempty" name:"CustomizationAttributes"` // 索引字段1 IndexedAttribute1 *string `json:"IndexedAttribute1,omitnil,omitempty" name:"IndexedAttribute1"` // 索引字段2 IndexedAttribute2 *string `json:"IndexedAttribute2,omitnil,omitempty" name:"IndexedAttribute2"` // 索引字段3 IndexedAttribute3 *string `json:"IndexedAttribute3,omitnil,omitempty" name:"IndexedAttribute3"` // 索引字段4 IndexedAttribute4 *string `json:"IndexedAttribute4,omitnil,omitempty" name:"IndexedAttribute4"` // 索引字段5 IndexedAttribute5 *string `json:"IndexedAttribute5,omitnil,omitempty" name:"IndexedAttribute5"` }
func NewUpdateUserRequest ¶ added in v1.0.421
func NewUpdateUserRequest() (request *UpdateUserRequest)
func (*UpdateUserRequest) FromJsonString ¶ added in v1.0.421
func (r *UpdateUserRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateUserRequest) ToJsonString ¶ added in v1.0.421
func (r *UpdateUserRequest) ToJsonString() string
type UpdateUserRequestParams ¶ added in v1.0.426
type UpdateUserRequestParams struct { // 用户ID UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 用户名称 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // 手机号码 PhoneNumber *string `json:"PhoneNumber,omitnil,omitempty" name:"PhoneNumber"` // 邮箱 Email *string `json:"Email,omitnil,omitempty" name:"Email"` // 昵称 Nickname *string `json:"Nickname,omitnil,omitempty" name:"Nickname"` // 地址 Address *string `json:"Address,omitnil,omitempty" name:"Address"` // 用户组 UserGroup []*string `json:"UserGroup,omitnil,omitempty" name:"UserGroup"` // 生日 Birthdate *int64 `json:"Birthdate,omitnil,omitempty" name:"Birthdate"` // 自定义属性 CustomizationAttributes []*MemberMap `json:"CustomizationAttributes,omitnil,omitempty" name:"CustomizationAttributes"` // 索引字段1 IndexedAttribute1 *string `json:"IndexedAttribute1,omitnil,omitempty" name:"IndexedAttribute1"` // 索引字段2 IndexedAttribute2 *string `json:"IndexedAttribute2,omitnil,omitempty" name:"IndexedAttribute2"` // 索引字段3 IndexedAttribute3 *string `json:"IndexedAttribute3,omitnil,omitempty" name:"IndexedAttribute3"` // 索引字段4 IndexedAttribute4 *string `json:"IndexedAttribute4,omitnil,omitempty" name:"IndexedAttribute4"` // 索引字段5 IndexedAttribute5 *string `json:"IndexedAttribute5,omitnil,omitempty" name:"IndexedAttribute5"` }
Predefined struct for user
type UpdateUserResponse ¶ added in v1.0.421
type UpdateUserResponse struct { *tchttp.BaseResponse Response *UpdateUserResponseParams `json:"Response"` }
func NewUpdateUserResponse ¶ added in v1.0.421
func NewUpdateUserResponse() (response *UpdateUserResponse)
func (*UpdateUserResponse) FromJsonString ¶ added in v1.0.421
func (r *UpdateUserResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateUserResponse) ToJsonString ¶ added in v1.0.421
func (r *UpdateUserResponse) ToJsonString() string
type UpdateUserResponseParams ¶ added in v1.0.426
type UpdateUserResponseParams struct { // 更新之后的用户信息 // 注意:此字段可能返回 null,表示取不到有效值。 User *User `json:"User,omitnil,omitempty" name:"User"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateUserStatusRequest ¶ added in v1.0.421
type UpdateUserStatusRequest struct { *tchttp.BaseRequest // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 用户ID UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // 用户状态 // // <li> **NORMAL** </li> 正常 // <li> **LOCK** </li> 锁定 // <li> **FREEZE** </li> 冻结 Status *string `json:"Status,omitnil,omitempty" name:"Status"` }
func NewUpdateUserStatusRequest ¶ added in v1.0.421
func NewUpdateUserStatusRequest() (request *UpdateUserStatusRequest)
func (*UpdateUserStatusRequest) FromJsonString ¶ added in v1.0.421
func (r *UpdateUserStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateUserStatusRequest) ToJsonString ¶ added in v1.0.421
func (r *UpdateUserStatusRequest) ToJsonString() string
type UpdateUserStatusRequestParams ¶ added in v1.0.426
type UpdateUserStatusRequestParams struct { // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 用户ID UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // 用户状态 // // <li> **NORMAL** </li> 正常 // <li> **LOCK** </li> 锁定 // <li> **FREEZE** </li> 冻结 Status *string `json:"Status,omitnil,omitempty" name:"Status"` }
Predefined struct for user
type UpdateUserStatusResponse ¶ added in v1.0.421
type UpdateUserStatusResponse struct { *tchttp.BaseResponse Response *UpdateUserStatusResponseParams `json:"Response"` }
func NewUpdateUserStatusResponse ¶ added in v1.0.421
func NewUpdateUserStatusResponse() (response *UpdateUserStatusResponse)
func (*UpdateUserStatusResponse) FromJsonString ¶ added in v1.0.421
func (r *UpdateUserStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateUserStatusResponse) ToJsonString ¶ added in v1.0.421
func (r *UpdateUserStatusResponse) ToJsonString() string
type UpdateUserStatusResponseParams ¶ added in v1.0.426
type UpdateUserStatusResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateUserStoreRequest ¶ added in v1.0.693
type UpdateUserStoreRequest struct { *tchttp.BaseRequest // 用户池ID UserPoolId *string `json:"UserPoolId,omitnil,omitempty" name:"UserPoolId"` // 用户池名字 UserPoolName *string `json:"UserPoolName,omitnil,omitempty" name:"UserPoolName"` // 用户池描述 UserPoolDesc *string `json:"UserPoolDesc,omitnil,omitempty" name:"UserPoolDesc"` // 用户池logo UserPoolLogo *string `json:"UserPoolLogo,omitnil,omitempty" name:"UserPoolLogo"` }
func NewUpdateUserStoreRequest ¶ added in v1.0.693
func NewUpdateUserStoreRequest() (request *UpdateUserStoreRequest)
func (*UpdateUserStoreRequest) FromJsonString ¶ added in v1.0.693
func (r *UpdateUserStoreRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateUserStoreRequest) ToJsonString ¶ added in v1.0.693
func (r *UpdateUserStoreRequest) ToJsonString() string
type UpdateUserStoreRequestParams ¶ added in v1.0.693
type UpdateUserStoreRequestParams struct { // 用户池ID UserPoolId *string `json:"UserPoolId,omitnil,omitempty" name:"UserPoolId"` // 用户池名字 UserPoolName *string `json:"UserPoolName,omitnil,omitempty" name:"UserPoolName"` // 用户池描述 UserPoolDesc *string `json:"UserPoolDesc,omitnil,omitempty" name:"UserPoolDesc"` // 用户池logo UserPoolLogo *string `json:"UserPoolLogo,omitnil,omitempty" name:"UserPoolLogo"` }
Predefined struct for user
type UpdateUserStoreResponse ¶ added in v1.0.693
type UpdateUserStoreResponse struct { *tchttp.BaseResponse Response *UpdateUserStoreResponseParams `json:"Response"` }
func NewUpdateUserStoreResponse ¶ added in v1.0.693
func NewUpdateUserStoreResponse() (response *UpdateUserStoreResponse)
func (*UpdateUserStoreResponse) FromJsonString ¶ added in v1.0.693
func (r *UpdateUserStoreResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateUserStoreResponse) ToJsonString ¶ added in v1.0.693
func (r *UpdateUserStoreResponse) ToJsonString() string
type UpdateUserStoreResponseParams ¶ added in v1.0.693
type UpdateUserStoreResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type User ¶ added in v1.0.421
type User struct { // 用户ID UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // 用户名 // 注意:此字段可能返回 null,表示取不到有效值。 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // 手机号 // 注意:此字段可能返回 null,表示取不到有效值。 PhoneNumber *string `json:"PhoneNumber,omitnil,omitempty" name:"PhoneNumber"` // 邮箱 // 注意:此字段可能返回 null,表示取不到有效值。 Email *string `json:"Email,omitnil,omitempty" name:"Email"` // 上次登录时间 // 注意:此字段可能返回 null,表示取不到有效值。 LastSignOn *int64 `json:"LastSignOn,omitnil,omitempty" name:"LastSignOn"` // 创建时间 CreatedDate *int64 `json:"CreatedDate,omitnil,omitempty" name:"CreatedDate"` // 状态 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 用户来源 UserDataSourceEnum *string `json:"UserDataSourceEnum,omitnil,omitempty" name:"UserDataSourceEnum"` // 昵称 // 注意:此字段可能返回 null,表示取不到有效值。 Nickname *string `json:"Nickname,omitnil,omitempty" name:"Nickname"` // 地址 // 注意:此字段可能返回 null,表示取不到有效值。 Address *string `json:"Address,omitnil,omitempty" name:"Address"` // 生日 // 注意:此字段可能返回 null,表示取不到有效值。 Birthdate *int64 `json:"Birthdate,omitnil,omitempty" name:"Birthdate"` // 用户组ID // 注意:此字段可能返回 null,表示取不到有效值。 UserGroups []*string `json:"UserGroups,omitnil,omitempty" name:"UserGroups"` // 上次修改时间 // 注意:此字段可能返回 null,表示取不到有效值。 LastModifiedDate *int64 `json:"LastModifiedDate,omitnil,omitempty" name:"LastModifiedDate"` // 自定义属性 // 注意:此字段可能返回 null,表示取不到有效值。 CustomAttributes []*MemberMap `json:"CustomAttributes,omitnil,omitempty" name:"CustomAttributes"` // 身份证号 // 注意:此字段可能返回 null,表示取不到有效值。 ResidentIdentityCard *string `json:"ResidentIdentityCard,omitnil,omitempty" name:"ResidentIdentityCard"` // QQ的OpenId // 注意:此字段可能返回 null,表示取不到有效值。 QqOpenId *string `json:"QqOpenId,omitnil,omitempty" name:"QqOpenId"` // QQ的UnionId // 注意:此字段可能返回 null,表示取不到有效值。 QqUnionId *string `json:"QqUnionId,omitnil,omitempty" name:"QqUnionId"` // 微信的WechatOpenId // 注意:此字段可能返回 null,表示取不到有效值。 WechatOpenId *string `json:"WechatOpenId,omitnil,omitempty" name:"WechatOpenId"` // 微信的WechatUnionId // 注意:此字段可能返回 null,表示取不到有效值。 WechatUnionId *string `json:"WechatUnionId,omitnil,omitempty" name:"WechatUnionId"` // 支付宝的AlipayUserId // 注意:此字段可能返回 null,表示取不到有效值。 AlipayUserId *string `json:"AlipayUserId,omitnil,omitempty" name:"AlipayUserId"` // 描述 // 注意:此字段可能返回 null,表示取不到有效值。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 姓名 // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 坐标 // 注意:此字段可能返回 null,表示取不到有效值。 Locale *string `json:"Locale,omitnil,omitempty" name:"Locale"` // 性别 // 注意:此字段可能返回 null,表示取不到有效值。 Gender *string `json:"Gender,omitnil,omitempty" name:"Gender"` // 实名核验方式 // 注意:此字段可能返回 null,表示取不到有效值。 IdentityVerificationMethod *string `json:"IdentityVerificationMethod,omitnil,omitempty" name:"IdentityVerificationMethod"` // 是否已经实名核验 // 注意:此字段可能返回 null,表示取不到有效值。 IdentityVerified *bool `json:"IdentityVerified,omitnil,omitempty" name:"IdentityVerified"` // 工作 // 注意:此字段可能返回 null,表示取不到有效值。 Job *string `json:"Job,omitnil,omitempty" name:"Job"` // 国家 // 注意:此字段可能返回 null,表示取不到有效值。 Nationality *string `json:"Nationality,omitnil,omitempty" name:"Nationality"` // 是否主账号(进行过账号融合后,主账号为true,从账号为false) // 注意:此字段可能返回 null,表示取不到有效值。 Primary *bool `json:"Primary,omitnil,omitempty" name:"Primary"` // 时区 // 注意:此字段可能返回 null,表示取不到有效值。 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 是否已经首次登录 // 注意:此字段可能返回 null,表示取不到有效值。 AlreadyFirstLogin *bool `json:"AlreadyFirstLogin,omitnil,omitempty" name:"AlreadyFirstLogin"` // 租户id // 注意:此字段可能返回 null,表示取不到有效值。 TenantId *string `json:"TenantId,omitnil,omitempty" name:"TenantId"` // 用户目录id // 注意:此字段可能返回 null,表示取不到有效值。 UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 版本 // 注意:此字段可能返回 null,表示取不到有效值。 Version *int64 `json:"Version,omitnil,omitempty" name:"Version"` // 锁定类型(分为管理员锁定,和登录策略锁定) // 注意:此字段可能返回 null,表示取不到有效值。 LockType *string `json:"LockType,omitnil,omitempty" name:"LockType"` // 锁定时间点 // 注意:此字段可能返回 null,表示取不到有效值。 LockTime *int64 `json:"LockTime,omitnil,omitempty" name:"LockTime"` // 索引字段1 // 注意:此字段可能返回 null,表示取不到有效值。 IndexedAttribute1 *string `json:"IndexedAttribute1,omitnil,omitempty" name:"IndexedAttribute1"` // 索引字段2 // 注意:此字段可能返回 null,表示取不到有效值。 IndexedAttribute2 *string `json:"IndexedAttribute2,omitnil,omitempty" name:"IndexedAttribute2"` // 索引字段3 // 注意:此字段可能返回 null,表示取不到有效值。 IndexedAttribute3 *string `json:"IndexedAttribute3,omitnil,omitempty" name:"IndexedAttribute3"` // 索引字段4 // 注意:此字段可能返回 null,表示取不到有效值。 IndexedAttribute4 *string `json:"IndexedAttribute4,omitnil,omitempty" name:"IndexedAttribute4"` // 索引字段5 // 注意:此字段可能返回 null,表示取不到有效值。 IndexedAttribute5 *string `json:"IndexedAttribute5,omitnil,omitempty" name:"IndexedAttribute5"` }
type UserGroup ¶ added in v1.0.693
type UserGroup struct { // 用户组ID UserGroupId *string `json:"UserGroupId,omitnil,omitempty" name:"UserGroupId"` // 用户组名称 DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"` // 用户组描述 // 注意:此字段可能返回 null,表示取不到有效值。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 用户目录ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 租户ID TenantId *string `json:"TenantId,omitnil,omitempty" name:"TenantId"` // 创建时间 CreatedDate *int64 `json:"CreatedDate,omitnil,omitempty" name:"CreatedDate"` // 最近更新时间 LastModifyDate *int64 `json:"LastModifyDate,omitnil,omitempty" name:"LastModifyDate"` }
type UserGroupDeleteResp ¶ added in v1.0.693
type UserGroupDeleteResp struct { // 错误详情 // 注意:此字段可能返回 null,表示取不到有效值。 ErrorMessage *string `json:"ErrorMessage,omitnil,omitempty" name:"ErrorMessage"` // 用户组关联的应用信息 // 注意:此字段可能返回 null,表示取不到有效值。 AppAssociatedUserGroupIds []*AppAssociatedUserGroupIds `json:"AppAssociatedUserGroupIds,omitnil,omitempty" name:"AppAssociatedUserGroupIds"` }
type UserStore ¶ added in v1.0.693
type UserStore struct { // 租户ID TenantId *string `json:"TenantId,omitnil,omitempty" name:"TenantId"` // 用户池logo // 注意:此字段可能返回 null,表示取不到有效值。 UserStoreLogo *string `json:"UserStoreLogo,omitnil,omitempty" name:"UserStoreLogo"` // 用户池描述 // 注意:此字段可能返回 null,表示取不到有效值。 UserStoreDesc *string `json:"UserStoreDesc,omitnil,omitempty" name:"UserStoreDesc"` // 用户池名称 UserStoreName *string `json:"UserStoreName,omitnil,omitempty" name:"UserStoreName"` // 用户数量 UserNum *int64 `json:"UserNum,omitnil,omitempty" name:"UserNum"` // 用户池ID UserStoreId *string `json:"UserStoreId,omitnil,omitempty" name:"UserStoreId"` // 应用数量 AppNum *int64 `json:"AppNum,omitnil,omitempty" name:"AppNum"` // 上次切换的用户池 // 注意:此字段可能返回 null,表示取不到有效值。 LastStatus *bool `json:"LastStatus,omitnil,omitempty" name:"LastStatus"` // 默认用户池 // 注意:此字段可能返回 null,表示取不到有效值。 DefaultStatus *bool `json:"DefaultStatus,omitnil,omitempty" name:"DefaultStatus"` // 创建时间 // 注意:此字段可能返回 null,表示取不到有效值。 CreateDate *int64 `json:"CreateDate,omitnil,omitempty" name:"CreateDate"` // 上次切换时间 // 注意:此字段可能返回 null,表示取不到有效值。 LastStatusTime *int64 `json:"LastStatusTime,omitnil,omitempty" name:"LastStatusTime"` // 用户目录域名 // 注意:此字段可能返回 null,表示取不到有效值。 UserStoreProtocolHost *string `json:"UserStoreProtocolHost,omitnil,omitempty" name:"UserStoreProtocolHost"` }