v20210420

package
v3.0.665+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// A CAM signature/authentication error occurred.
	AUTHFAILURE = "AuthFailure"

	// `DryRun` Operation. It means that the request would have succeeded, but the `DryRun` parameter was used.
	DRYRUNOPERATION = "DryRunOperation"

	// The operation failed.
	FAILEDOPERATION = "FailedOperation"

	// FailedOperation.AccountNotFound
	FAILEDOPERATION_ACCOUNTNOTFOUND = "FailedOperation.AccountNotFound"

	// FailedOperation.AddUsersToUserGroup
	FAILEDOPERATION_ADDUSERSTOUSERGROUP = "FailedOperation.AddUsersToUserGroup"

	// FailedOperation.AppIdIsNull
	FAILEDOPERATION_APPIDISNULL = "FailedOperation.AppIdIsNull"

	// FailedOperation.AppIdNotExited
	FAILEDOPERATION_APPIDNOTEXITED = "FailedOperation.AppIdNotExited"

	// FailedOperation.AppIdNotFound
	FAILEDOPERATION_APPIDNOTFOUND = "FailedOperation.AppIdNotFound"

	// FailedOperation.AppNotExited
	FAILEDOPERATION_APPNOTEXITED = "FailedOperation.AppNotExited"

	// FailedOperation.AuthListFailed
	FAILEDOPERATION_AUTHLISTFAILED = "FailedOperation.AuthListFailed"

	// FailedOperation.ChildOrgNodeWithUsersCannotBeDeleted
	FAILEDOPERATION_CHILDORGNODEWITHUSERSCANNOTBEDELETED = "FailedOperation.ChildOrgNodeWithUsersCannotBeDeleted"

	// FailedOperation.CreateOrgNodeFailure
	FAILEDOPERATION_CREATEORGNODEFAILURE = "FailedOperation.CreateOrgNodeFailure"

	// FailedOperation.CreateUserFailure
	FAILEDOPERATION_CREATEUSERFAILURE = "FailedOperation.CreateUserFailure"

	// FailedOperation.CreateUserGroupFailure
	FAILEDOPERATION_CREATEUSERGROUPFAILURE = "FailedOperation.CreateUserGroupFailure"

	// FailedOperation.CustomizedParentOrgNodeIdExisted
	FAILEDOPERATION_CUSTOMIZEDPARENTORGNODEIDEXISTED = "FailedOperation.CustomizedParentOrgNodeIdExisted"

	// FailedOperation.DeleteOrgNodeFailure
	FAILEDOPERATION_DELETEORGNODEFAILURE = "FailedOperation.DeleteOrgNodeFailure"

	// FailedOperation.DeleteUserException
	FAILEDOPERATION_DELETEUSEREXCEPTION = "FailedOperation.DeleteUserException"

	// FailedOperation.DeleteUserFailure
	FAILEDOPERATION_DELETEUSERFAILURE = "FailedOperation.DeleteUserFailure"

	// FailedOperation.DeleteUserGroupFailure
	FAILEDOPERATION_DELETEUSERGROUPFAILURE = "FailedOperation.DeleteUserGroupFailure"

	// FailedOperation.DescribeOrgNodeFailure
	FAILEDOPERATION_DESCRIBEORGNODEFAILURE = "FailedOperation.DescribeOrgNodeFailure"

	// FailedOperation.ExpectFieldsNotFound
	FAILEDOPERATION_EXPECTFIELDSNOTFOUND = "FailedOperation.ExpectFieldsNotFound"

	// FailedOperation.GroupIdNotFound
	FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound"

	// Invalid tenant
	FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant"

	// FailedOperation.ListAllUserGroupsFailure
	FAILEDOPERATION_LISTALLUSERGROUPSFAILURE = "FailedOperation.ListAllUserGroupsFailure"

	// FailedOperation.ListMatchedUserInfoFailure
	FAILEDOPERATION_LISTMATCHEDUSERINFOFAILURE = "FailedOperation.ListMatchedUserInfoFailure"

	// FailedOperation.ListUserGroupsOfUserFailure
	FAILEDOPERATION_LISTUSERGROUPSOFUSERFAILURE = "FailedOperation.ListUserGroupsOfUserFailure"

	// FailedOperation.ListUsersInOrgNodeFailure
	FAILEDOPERATION_LISTUSERSINORGNODEFAILURE = "FailedOperation.ListUsersInOrgNodeFailure"

	// FailedOperation.ListUsersInUserGroupFailure
	FAILEDOPERATION_LISTUSERSINUSERGROUPFAILURE = "FailedOperation.ListUsersInUserGroupFailure"

	// FailedOperation.ModifyApplicationDisplayNameIsNull
	FAILEDOPERATION_MODIFYAPPLICATIONDISPLAYNAMEISNULL = "FailedOperation.ModifyApplicationDisplayNameIsNull"

	// FailedOperation.OrgNodeIdNotExist
	FAILEDOPERATION_ORGNODEIDNOTEXIST = "FailedOperation.OrgNodeIdNotExist"

	// FailedOperation.OrgNodeNotExist
	FAILEDOPERATION_ORGNODENOTEXIST = "FailedOperation.OrgNodeNotExist"

	// FailedOperation.OrgNodeRootCannotBeDeleted
	FAILEDOPERATION_ORGNODEROOTCANNOTBEDELETED = "FailedOperation.OrgNodeRootCannotBeDeleted"

	// FailedOperation.OrgNodeWithUsersCannotBeDeleted
	FAILEDOPERATION_ORGNODEWITHUSERSCANNOTBEDELETED = "FailedOperation.OrgNodeWithUsersCannotBeDeleted"

	// FailedOperation.PageParameterIsNotPaired
	FAILEDOPERATION_PAGEPARAMETERISNOTPAIRED = "FailedOperation.PageParameterIsNotPaired"

	// FailedOperation.ParentOrgNodeIdNotFound
	FAILEDOPERATION_PARENTORGNODEIDNOTFOUND = "FailedOperation.ParentOrgNodeIdNotFound"

	// FailedOperation.ParentOrgNodeIsEmpty
	FAILEDOPERATION_PARENTORGNODEISEMPTY = "FailedOperation.ParentOrgNodeIsEmpty"

	// FailedOperation.PersonNotFound
	FAILEDOPERATION_PERSONNOTFOUND = "FailedOperation.PersonNotFound"

	// FailedOperation.RemoveUsersFromUserGroupFailure
	FAILEDOPERATION_REMOVEUSERSFROMUSERGROUPFAILURE = "FailedOperation.RemoveUsersFromUserGroupFailure"

	// FailedOperation.RepeatedAuthorizationException
	FAILEDOPERATION_REPEATEDAUTHORIZATIONEXCEPTION = "FailedOperation.RepeatedAuthorizationException"

	// FailedOperation.RepeatedUnauthorizationException
	FAILEDOPERATION_REPEATEDUNAUTHORIZATIONEXCEPTION = "FailedOperation.RepeatedUnauthorizationException"

	// FailedOperation.TimeFormatIsIllegal
	FAILEDOPERATION_TIMEFORMATISILLEGAL = "FailedOperation.TimeFormatIsIllegal"

	// FailedOperation.UserAlreadyExistedInUserGroup
	FAILEDOPERATION_USERALREADYEXISTEDINUSERGROUP = "FailedOperation.UserAlreadyExistedInUserGroup"

	// FailedOperation.UserExpriationTimeIsIllegal
	FAILEDOPERATION_USEREXPRIATIONTIMEISILLEGAL = "FailedOperation.UserExpriationTimeIsIllegal"

	// FailedOperation.UserGroupNotExisted
	FAILEDOPERATION_USERGROUPNOTEXISTED = "FailedOperation.UserGroupNotExisted"

	// FailedOperation.UserIdNotFound
	FAILEDOPERATION_USERIDNOTFOUND = "FailedOperation.UserIdNotFound"

	// FailedOperation.UserInfoSortAttributeCodeIsIllegal
	FAILEDOPERATION_USERINFOSORTATTRIBUTECODEISILLEGAL = "FailedOperation.UserInfoSortAttributeCodeIsIllegal"

	// FailedOperation.UserNameExisted
	FAILEDOPERATION_USERNAMEEXISTED = "FailedOperation.UserNameExisted"

	// FailedOperation.UserNotExistedInUserGroup
	FAILEDOPERATION_USERNOTEXISTEDINUSERGROUP = "FailedOperation.UserNotExistedInUserGroup"

	// FailedOperation.UserPhoneExisted
	FAILEDOPERATION_USERPHONEEXISTED = "FailedOperation.UserPhoneExisted"

	// An internal error occurred.
	INTERNALERROR = "InternalError"

	// The parameter is incorrect.
	INVALIDPARAMETER = "InvalidParameter"

	// InvalidParameter.AttributeValueValidFailure
	INVALIDPARAMETER_ATTRIBUTEVALUEVALIDFAILURE = "InvalidParameter.AttributeValueValidFailure"

	// InvalidParameter.DataTypeNotMatch
	INVALIDPARAMETER_DATATYPENOTMATCH = "InvalidParameter.DataTypeNotMatch"

	// InvalidParameter.ParameterIsIllegal
	INVALIDPARAMETER_PARAMETERISILLEGAL = "InvalidParameter.ParameterIsIllegal"

	// InvalidParameter.ParameterTypeIsIllegal
	INVALIDPARAMETER_PARAMETERTYPEISILLEGAL = "InvalidParameter.ParameterTypeIsIllegal"

	// InvalidParameter.PasswordIsIllegal
	INVALIDPARAMETER_PASSWORDISILLEGAL = "InvalidParameter.PasswordIsIllegal"

	// The parameter value is incorrect.
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// The quota limit is exceeded.
	LIMITEXCEEDED = "LimitExceeded"

	// The parameter is missing.
	MISSINGPARAMETER = "MissingParameter"

	// The operation was denied.
	OPERATIONDENIED = "OperationDenied"

	// OperationDenied.DataTypeIsIllegal
	OPERATIONDENIED_DATATYPEISILLEGAL = "OperationDenied.DataTypeIsIllegal"

	// OperationDenied.UinNotExisted
	OPERATIONDENIED_UINNOTEXISTED = "OperationDenied.UinNotExisted"

	// The number of requests exceeds the frequency limit.
	REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

	// The resource is in use.
	RESOURCEINUSE = "ResourceInUse"

	// The resource is insufficient.
	RESOURCEINSUFFICIENT = "ResourceInsufficient"

	// The resource does not exist.
	RESOURCENOTFOUND = "ResourceNotFound"

	// The resource is unavailable.
	RESOURCEUNAVAILABLE = "ResourceUnavailable"

	// The resources have been sold out.
	RESOURCESSOLDOUT = "ResourcesSoldOut"

	// The operation is unauthorized.
	UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

	// Not activated
	UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated"

	// The parameter is unknown.
	UNKNOWNPARAMETER = "UnknownParameter"

	// The operation is not supported.
	UNSUPPORTEDOPERATION = "UnsupportedOperation"
)
View Source
const APIVersion = "2021-04-20"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) ListUserGroups

func (c *Client) ListUserGroups(request *ListUserGroupsRequest) (response *ListUserGroupsResponse, err error)

ListUserGroups This API is used to list user groups.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTNOTFOUND = "FailedOperation.AccountNotFound"
FAILEDOPERATION_ADDUSERSTOUSERGROUP = "FailedOperation.AddUsersToUserGroup"
FAILEDOPERATION_APPIDISNULL = "FailedOperation.AppIdIsNull"
FAILEDOPERATION_APPIDNOTEXITED = "FailedOperation.AppIdNotExited"
FAILEDOPERATION_APPIDNOTFOUND = "FailedOperation.AppIdNotFound"
FAILEDOPERATION_APPNOTEXITED = "FailedOperation.AppNotExited"
FAILEDOPERATION_AUTHLISTFAILED = "FailedOperation.AuthListFailed"
FAILEDOPERATION_CHILDORGNODEWITHUSERSCANNOTBEDELETED = "FailedOperation.ChildOrgNodeWithUsersCannotBeDeleted"
FAILEDOPERATION_CREATEORGNODEFAILURE = "FailedOperation.CreateOrgNodeFailure"
FAILEDOPERATION_CREATEUSERFAILURE = "FailedOperation.CreateUserFailure"
FAILEDOPERATION_CREATEUSERGROUPFAILURE = "FailedOperation.CreateUserGroupFailure"
FAILEDOPERATION_CUSTOMIZEDPARENTORGNODEIDEXISTED = "FailedOperation.CustomizedParentOrgNodeIdExisted"
FAILEDOPERATION_DELETEORGNODEFAILURE = "FailedOperation.DeleteOrgNodeFailure"
FAILEDOPERATION_DELETEUSEREXCEPTION = "FailedOperation.DeleteUserException"
FAILEDOPERATION_DELETEUSERFAILURE = "FailedOperation.DeleteUserFailure"
FAILEDOPERATION_DELETEUSERGROUPFAILURE = "FailedOperation.DeleteUserGroupFailure"
FAILEDOPERATION_DESCRIBEORGNODEFAILURE = "FailedOperation.DescribeOrgNodeFailure"
FAILEDOPERATION_EXPECTFIELDSNOTFOUND = "FailedOperation.ExpectFieldsNotFound"
FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound"
FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant"
FAILEDOPERATION_LISTALLUSERGROUPSFAILURE = "FailedOperation.ListAllUserGroupsFailure"
FAILEDOPERATION_LISTMATCHEDUSERINFOFAILURE = "FailedOperation.ListMatchedUserInfoFailure"
FAILEDOPERATION_LISTUSERGROUPSOFUSERFAILURE = "FailedOperation.ListUserGroupsOfUserFailure"
FAILEDOPERATION_LISTUSERSINORGNODEFAILURE = "FailedOperation.ListUsersInOrgNodeFailure"
FAILEDOPERATION_LISTUSERSINUSERGROUPFAILURE = "FailedOperation.ListUsersInUserGroupFailure"
FAILEDOPERATION_MODIFYAPPLICATIONDISPLAYNAMEISNULL = "FailedOperation.ModifyApplicationDisplayNameIsNull"
FAILEDOPERATION_ORGNODEIDNOTEXIST = "FailedOperation.OrgNodeIdNotExist"
FAILEDOPERATION_ORGNODENOTEXIST = "FailedOperation.OrgNodeNotExist"
FAILEDOPERATION_ORGNODEROOTCANNOTBEDELETED = "FailedOperation.OrgNodeRootCannotBeDeleted"
FAILEDOPERATION_ORGNODEWITHUSERSCANNOTBEDELETED = "FailedOperation.OrgNodeWithUsersCannotBeDeleted"
FAILEDOPERATION_PAGEPARAMETERISNOTPAIRED = "FailedOperation.PageParameterIsNotPaired"
FAILEDOPERATION_PARENTORGNODEIDNOTFOUND = "FailedOperation.ParentOrgNodeIdNotFound"
FAILEDOPERATION_PARENTORGNODEISEMPTY = "FailedOperation.ParentOrgNodeIsEmpty"
FAILEDOPERATION_PERSONNOTFOUND = "FailedOperation.PersonNotFound"
FAILEDOPERATION_REMOVEUSERSFROMUSERGROUPFAILURE = "FailedOperation.RemoveUsersFromUserGroupFailure"
FAILEDOPERATION_REPEATEDAUTHORIZATIONEXCEPTION = "FailedOperation.RepeatedAuthorizationException"
FAILEDOPERATION_REPEATEDUNAUTHORIZATIONEXCEPTION = "FailedOperation.RepeatedUnauthorizationException"
FAILEDOPERATION_TIMEFORMATISILLEGAL = "FailedOperation.TimeFormatIsIllegal"
FAILEDOPERATION_USERALREADYEXISTEDINUSERGROUP = "FailedOperation.UserAlreadyExistedInUserGroup"
FAILEDOPERATION_USEREXPRIATIONTIMEISILLEGAL = "FailedOperation.UserExpriationTimeIsIllegal"
FAILEDOPERATION_USERGROUPNOTEXISTED = "FailedOperation.UserGroupNotExisted"
FAILEDOPERATION_USERIDNOTFOUND = "FailedOperation.UserIdNotFound"
FAILEDOPERATION_USERINFOSORTATTRIBUTECODEISILLEGAL = "FailedOperation.UserInfoSortAttributeCodeIsIllegal"
FAILEDOPERATION_USERNAMEEXISTED = "FailedOperation.UserNameExisted"
FAILEDOPERATION_USERNOTEXISTEDINUSERGROUP = "FailedOperation.UserNotExistedInUserGroup"
FAILEDOPERATION_USERPHONEEXISTED = "FailedOperation.UserPhoneExisted"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ATTRIBUTEVALUEVALIDFAILURE = "InvalidParameter.AttributeValueValidFailure"
INVALIDPARAMETER_DATATYPENOTMATCH = "InvalidParameter.DataTypeNotMatch"
INVALIDPARAMETER_PARAMETERISILLEGAL = "InvalidParameter.ParameterIsIllegal"
INVALIDPARAMETER_PARAMETERTYPEISILLEGAL = "InvalidParameter.ParameterTypeIsIllegal"
INVALIDPARAMETER_PASSWORDISILLEGAL = "InvalidParameter.PasswordIsIllegal"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_DATATYPEISILLEGAL = "OperationDenied.DataTypeIsIllegal"
OPERATIONDENIED_UINNOTEXISTED = "OperationDenied.UinNotExisted"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ListUserGroupsWithContext

func (c *Client) ListUserGroupsWithContext(ctx context.Context, request *ListUserGroupsRequest) (response *ListUserGroupsResponse, err error)

ListUserGroups This API is used to list user groups.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTNOTFOUND = "FailedOperation.AccountNotFound"
FAILEDOPERATION_ADDUSERSTOUSERGROUP = "FailedOperation.AddUsersToUserGroup"
FAILEDOPERATION_APPIDISNULL = "FailedOperation.AppIdIsNull"
FAILEDOPERATION_APPIDNOTEXITED = "FailedOperation.AppIdNotExited"
FAILEDOPERATION_APPIDNOTFOUND = "FailedOperation.AppIdNotFound"
FAILEDOPERATION_APPNOTEXITED = "FailedOperation.AppNotExited"
FAILEDOPERATION_AUTHLISTFAILED = "FailedOperation.AuthListFailed"
FAILEDOPERATION_CHILDORGNODEWITHUSERSCANNOTBEDELETED = "FailedOperation.ChildOrgNodeWithUsersCannotBeDeleted"
FAILEDOPERATION_CREATEORGNODEFAILURE = "FailedOperation.CreateOrgNodeFailure"
FAILEDOPERATION_CREATEUSERFAILURE = "FailedOperation.CreateUserFailure"
FAILEDOPERATION_CREATEUSERGROUPFAILURE = "FailedOperation.CreateUserGroupFailure"
FAILEDOPERATION_CUSTOMIZEDPARENTORGNODEIDEXISTED = "FailedOperation.CustomizedParentOrgNodeIdExisted"
FAILEDOPERATION_DELETEORGNODEFAILURE = "FailedOperation.DeleteOrgNodeFailure"
FAILEDOPERATION_DELETEUSEREXCEPTION = "FailedOperation.DeleteUserException"
FAILEDOPERATION_DELETEUSERFAILURE = "FailedOperation.DeleteUserFailure"
FAILEDOPERATION_DELETEUSERGROUPFAILURE = "FailedOperation.DeleteUserGroupFailure"
FAILEDOPERATION_DESCRIBEORGNODEFAILURE = "FailedOperation.DescribeOrgNodeFailure"
FAILEDOPERATION_EXPECTFIELDSNOTFOUND = "FailedOperation.ExpectFieldsNotFound"
FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound"
FAILEDOPERATION_INVALIDTENANT = "FailedOperation.InvalidTenant"
FAILEDOPERATION_LISTALLUSERGROUPSFAILURE = "FailedOperation.ListAllUserGroupsFailure"
FAILEDOPERATION_LISTMATCHEDUSERINFOFAILURE = "FailedOperation.ListMatchedUserInfoFailure"
FAILEDOPERATION_LISTUSERGROUPSOFUSERFAILURE = "FailedOperation.ListUserGroupsOfUserFailure"
FAILEDOPERATION_LISTUSERSINORGNODEFAILURE = "FailedOperation.ListUsersInOrgNodeFailure"
FAILEDOPERATION_LISTUSERSINUSERGROUPFAILURE = "FailedOperation.ListUsersInUserGroupFailure"
FAILEDOPERATION_MODIFYAPPLICATIONDISPLAYNAMEISNULL = "FailedOperation.ModifyApplicationDisplayNameIsNull"
FAILEDOPERATION_ORGNODEIDNOTEXIST = "FailedOperation.OrgNodeIdNotExist"
FAILEDOPERATION_ORGNODENOTEXIST = "FailedOperation.OrgNodeNotExist"
FAILEDOPERATION_ORGNODEROOTCANNOTBEDELETED = "FailedOperation.OrgNodeRootCannotBeDeleted"
FAILEDOPERATION_ORGNODEWITHUSERSCANNOTBEDELETED = "FailedOperation.OrgNodeWithUsersCannotBeDeleted"
FAILEDOPERATION_PAGEPARAMETERISNOTPAIRED = "FailedOperation.PageParameterIsNotPaired"
FAILEDOPERATION_PARENTORGNODEIDNOTFOUND = "FailedOperation.ParentOrgNodeIdNotFound"
FAILEDOPERATION_PARENTORGNODEISEMPTY = "FailedOperation.ParentOrgNodeIsEmpty"
FAILEDOPERATION_PERSONNOTFOUND = "FailedOperation.PersonNotFound"
FAILEDOPERATION_REMOVEUSERSFROMUSERGROUPFAILURE = "FailedOperation.RemoveUsersFromUserGroupFailure"
FAILEDOPERATION_REPEATEDAUTHORIZATIONEXCEPTION = "FailedOperation.RepeatedAuthorizationException"
FAILEDOPERATION_REPEATEDUNAUTHORIZATIONEXCEPTION = "FailedOperation.RepeatedUnauthorizationException"
FAILEDOPERATION_TIMEFORMATISILLEGAL = "FailedOperation.TimeFormatIsIllegal"
FAILEDOPERATION_USERALREADYEXISTEDINUSERGROUP = "FailedOperation.UserAlreadyExistedInUserGroup"
FAILEDOPERATION_USEREXPRIATIONTIMEISILLEGAL = "FailedOperation.UserExpriationTimeIsIllegal"
FAILEDOPERATION_USERGROUPNOTEXISTED = "FailedOperation.UserGroupNotExisted"
FAILEDOPERATION_USERIDNOTFOUND = "FailedOperation.UserIdNotFound"
FAILEDOPERATION_USERINFOSORTATTRIBUTECODEISILLEGAL = "FailedOperation.UserInfoSortAttributeCodeIsIllegal"
FAILEDOPERATION_USERNAMEEXISTED = "FailedOperation.UserNameExisted"
FAILEDOPERATION_USERNOTEXISTEDINUSERGROUP = "FailedOperation.UserNotExistedInUserGroup"
FAILEDOPERATION_USERPHONEEXISTED = "FailedOperation.UserPhoneExisted"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ATTRIBUTEVALUEVALIDFAILURE = "InvalidParameter.AttributeValueValidFailure"
INVALIDPARAMETER_DATATYPENOTMATCH = "InvalidParameter.DataTypeNotMatch"
INVALIDPARAMETER_PARAMETERISILLEGAL = "InvalidParameter.ParameterIsIllegal"
INVALIDPARAMETER_PARAMETERTYPEISILLEGAL = "InvalidParameter.ParameterTypeIsIllegal"
INVALIDPARAMETER_PASSWORDISILLEGAL = "InvalidParameter.PasswordIsIllegal"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
OPERATIONDENIED_DATATYPEISILLEGAL = "OperationDenied.DataTypeIsIllegal"
OPERATIONDENIED_UINNOTEXISTED = "OperationDenied.UinNotExisted"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_TENANTNOTACTIVATED = "UnauthorizedOperation.TenantNotActivated"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

type ListUserGroupsRequest

type ListUserGroupsRequest struct {
	*tchttp.BaseRequest

	// User directory ID
	UserStoreId *string `json:"UserStoreId,omitempty" name:"UserStoreId"`

	// Number of queried pages
	Page *int64 `json:"Page,omitempty" name:"Page"`

	// Number of entries per page
	Size *int64 `json:"Size,omitempty" name:"Size"`

	// Query conditions (user group ID or user group name)
	Condition *string `json:"Condition,omitempty" name:"Condition"`
}

func NewListUserGroupsRequest

func NewListUserGroupsRequest() (request *ListUserGroupsRequest)

func (*ListUserGroupsRequest) FromJsonString

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

func (r *ListUserGroupsRequest) ToJsonString() string

type ListUserGroupsRequestParams

type ListUserGroupsRequestParams struct {
	// User directory ID
	UserStoreId *string `json:"UserStoreId,omitempty" name:"UserStoreId"`

	// Number of queried pages
	Page *int64 `json:"Page,omitempty" name:"Page"`

	// Number of entries per page
	Size *int64 `json:"Size,omitempty" name:"Size"`

	// Query conditions (user group ID or user group name)
	Condition *string `json:"Condition,omitempty" name:"Condition"`
}

Predefined struct for user

type ListUserGroupsResponse

type ListUserGroupsResponse struct {
	*tchttp.BaseResponse
	Response *ListUserGroupsResponseParams `json:"Response"`
}

func NewListUserGroupsResponse

func NewListUserGroupsResponse() (response *ListUserGroupsResponse)

func (*ListUserGroupsResponse) FromJsonString

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

func (r *ListUserGroupsResponse) ToJsonString() string

type ListUserGroupsResponseParams

type ListUserGroupsResponseParams struct {
	// User group list
	// Note: this field may return null, indicating that no valid values can be obtained.
	Content []*UserGroup `json:"Content,omitempty" name:"Content"`

	// Total number
	// Note: this field may return null, indicating that no valid values can be obtained.
	Total *int64 `json:"Total,omitempty" name:"Total"`

	// Pagination
	// Note: this field may return null, indicating that no valid values can be obtained.
	Pageable *Pageable `json:"Pageable,omitempty" name:"Pageable"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type Pageable

type Pageable struct {
	// Number of entries per page
	PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`

	// Current page number
	PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"`
}

type UserGroup

type UserGroup struct {
	// User group ID
	UserGroupId *string `json:"UserGroupId,omitempty" name:"UserGroupId"`

	// User group name
	DisplayName *string `json:"DisplayName,omitempty" name:"DisplayName"`

	// User group description
	// Note: this field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitempty" name:"Description"`

	// User directory ID
	UserStoreId *string `json:"UserStoreId,omitempty" name:"UserStoreId"`

	// Tenant ID
	TenantId *string `json:"TenantId,omitempty" name:"TenantId"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL