Documentation ¶
Index ¶
- type AddressDto
- type AlternateIdentifierDto
- type AttributeOperationDto
- type CreateGroupMembershipReqBody
- type CreateGroupMembershipRequest
- type CreateGroupMembershipResponse
- type CreateGroupReqBody
- type CreateGroupRequest
- type CreateGroupResponse
- type CreateUserReqBody
- type CreateUserReqBodyPasswordMode
- type CreateUserReqBodyPasswordModeEnum
- type CreateUserRequest
- type CreateUserResponse
- type DeleteGroupMembershipRequest
- type DeleteGroupMembershipResponse
- type DeleteGroupRequest
- type DeleteGroupResponse
- type DeleteUserRequest
- type DeleteUserResponse
- type DescribeGroupMembershipRequest
- type DescribeGroupMembershipResponse
- type DescribeGroupRequest
- type DescribeGroupResponse
- type DescribeUserRequest
- type DescribeUserResponse
- type EmailDto
- type EmailDtoVerificationStatus
- type EmailDtoVerificationStatusEnum
- type EnterpriseDto
- type ExternalIdDto
- type GetGroupIdReqBody
- type GetGroupIdRequest
- type GetGroupIdResponse
- type GetGroupMembershipIdReqBody
- type GetGroupMembershipIdRequest
- type GetGroupMembershipIdResponse
- type GetUserIdReqBody
- type GetUserIdRequest
- type GetUserIdResponse
- type GroupDto
- type GroupMembershipDto
- type GroupMembershipExistenceResultDto
- type GroupMembershipItem
- type IsMemberInGroupsReqBody
- type IsMemberInGroupsRequest
- type IsMemberInGroupsResponse
- type ListGroupMembershipsForMemberRequest
- type ListGroupMembershipsForMemberResponse
- type ListGroupMembershipsRequest
- type ListGroupMembershipsResponse
- type ListGroupsRequest
- type ListGroupsResponse
- type ListUsersRequest
- type ListUsersResponse
- type ManagerDto
- type MemberIdDto
- type NameDto
- type PageInfoDto
- type PhoneNumberDto
- type UniqueAttributeDto
- type UpdateGroupReqBody
- type UpdateGroupRequest
- type UpdateGroupResponse
- type UpdateUserReqBody
- type UpdateUserRequest
- type UpdateUserResponse
- type UserDto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressDto ¶
type AddressDto struct { // 国家/地区 Country *string `json:"country,omitempty"` // 包含要显示的地址的格式化版本的字符串 Formatted *string `json:"formatted,omitempty"` // 地址位置 Locality *string `json:"locality,omitempty"` // 邮政编码 PostalCode *string `json:"postal_code,omitempty"` // 一个布尔值,表示这是否为用户的主地址 Primary *bool `json:"primary,omitempty"` // 区域 Region *string `json:"region,omitempty"` // 街道 StreetAddress *string `json:"street_address,omitempty"` // 表示地址类型的字符串 Type *string `json:"type,omitempty"` }
AddressDto The address associated with the specified user.
func (AddressDto) String ¶
func (o AddressDto) String() string
type AlternateIdentifierDto ¶ added in v0.1.119
type AlternateIdentifierDto struct { ExternalId *ExternalIdDto `json:"external_id,omitempty"` UniqueAttribute *UniqueAttributeDto `json:"unique_attribute,omitempty"` }
AlternateIdentifierDto A unique identifier for a user or group that is not the its primary identifier.This value can be an identifier from an external identity provider (IdP) that is associated with the group or a unique attribute.
func (AlternateIdentifierDto) String ¶ added in v0.1.119
func (o AlternateIdentifierDto) String() string
type AttributeOperationDto ¶ added in v0.1.119
type AttributeOperationDto struct { // 要更新的属性的字符串表示 AttributePath string `json:"attribute_path"` // 要更新的属性值。当属性为对象类型时,此处填写对象的JSON字符串。为null时表示删除对应属性 AttributeValue *string `json:"attribute_value,omitempty"` }
AttributeOperationDto An operation that applies to the requested group. This operation might add, replace, or remove an attribute.
func (AttributeOperationDto) String ¶ added in v0.1.119
func (o AttributeOperationDto) String() string
type CreateGroupMembershipReqBody ¶ added in v0.1.119
type CreateGroupMembershipReqBody struct { // 身份源中IAM身份中心用户组的全局唯一标识符(ID) GroupId string `json:"group_id"` MemberId *MemberIdDto `json:"member_id"` }
CreateGroupMembershipReqBody 创建成员和组之间的关系。必须指定以下标识符:GroupId、IdentityStoreId和memberId
func (CreateGroupMembershipReqBody) String ¶ added in v0.1.119
func (o CreateGroupMembershipReqBody) String() string
type CreateGroupMembershipRequest ¶ added in v0.1.119
type CreateGroupMembershipRequest struct { // 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。 XSecurityToken *string `json:"X-Security-Token,omitempty"` // 身份源的全局唯一标识符(ID) IdentityStoreId string `json:"identity_store_id"` Body *CreateGroupMembershipReqBody `json:"body,omitempty"` }
CreateGroupMembershipRequest Request Object
func (CreateGroupMembershipRequest) String ¶ added in v0.1.119
func (o CreateGroupMembershipRequest) String() string
type CreateGroupMembershipResponse ¶ added in v0.1.119
type CreateGroupMembershipResponse struct { // 身份源的全局唯一标识符(ID) IdentityStoreId *string `json:"identity_store_id,omitempty"` // 身份源中用户和组关联关系的全局唯一标识符(ID) MembershipId *string `json:"membership_id,omitempty"` HttpStatusCode int `json:"-"` }
CreateGroupMembershipResponse Response Object
func (CreateGroupMembershipResponse) String ¶ added in v0.1.119
func (o CreateGroupMembershipResponse) String() string
type CreateGroupReqBody ¶ added in v0.1.119
type CreateGroupReqBody struct { // 用户组描述 Description *string `json:"description,omitempty"` // 用户组显示名称 DisplayName string `json:"display_name"` }
CreateGroupReqBody 创建用户组请求体
func (CreateGroupReqBody) String ¶ added in v0.1.119
func (o CreateGroupReqBody) String() string
type CreateGroupRequest ¶ added in v0.1.119
type CreateGroupRequest struct { // 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。 XSecurityToken *string `json:"X-Security-Token,omitempty"` // 身份源的全局唯一标识符(ID) IdentityStoreId string `json:"identity_store_id"` Body *CreateGroupReqBody `json:"body,omitempty"` }
CreateGroupRequest Request Object
func (CreateGroupRequest) String ¶ added in v0.1.119
func (o CreateGroupRequest) String() string
type CreateGroupResponse ¶ added in v0.1.119
type CreateGroupResponse struct { // 身份源中IAM身份中心用户组的全局唯一标识符(ID) GroupId *string `json:"group_id,omitempty"` // 身份源的全局唯一标识符(ID) IdentityStoreId *string `json:"identity_store_id,omitempty"` HttpStatusCode int `json:"-"` }
CreateGroupResponse Response Object
func (CreateGroupResponse) String ¶ added in v0.1.119
func (o CreateGroupResponse) String() string
type CreateUserReqBody ¶ added in v0.1.119
type CreateUserReqBody struct { // 用户的地址信息列表 Addresses *[]AddressDto `json:"addresses,omitempty"` // 用户的显示名称 DisplayName string `json:"display_name"` // 用户的电子邮箱信息列表 Emails []EmailDto `json:"emails"` // 用户的地理区域或位置信息 Locale *string `json:"locale,omitempty"` Name *NameDto `json:"name"` // 用户昵称 Nickname *string `json:"nickname,omitempty"` // 用户的电话号码信息列表 PhoneNumbers *[]PhoneNumberDto `json:"phone_numbers,omitempty"` // 用户语言首选项 PreferredLanguage *string `json:"preferred_language,omitempty"` // 与用户关联的URL ProfileUrl *string `json:"profile_url,omitempty"` // 用户时区 Timezone *string `json:"timezone,omitempty"` // 用户头衔 Title *string `json:"title,omitempty"` // 用户名,用于标识用户的唯一字符串 UserName string `json:"user_name"` // 用户类型 UserType *string `json:"user_type,omitempty"` // 初始化密码方式,一次性密码/邮箱 PasswordMode CreateUserReqBodyPasswordMode `json:"password_mode"` Enterprise *EnterpriseDto `json:"enterprise,omitempty"` }
CreateUserReqBody 创建用户请求体
func (CreateUserReqBody) String ¶ added in v0.1.119
func (o CreateUserReqBody) String() string
type CreateUserReqBodyPasswordMode ¶ added in v0.1.119
type CreateUserReqBodyPasswordMode struct {
// contains filtered or unexported fields
}
func (CreateUserReqBodyPasswordMode) MarshalJSON ¶ added in v0.1.119
func (c CreateUserReqBodyPasswordMode) MarshalJSON() ([]byte, error)
func (*CreateUserReqBodyPasswordMode) UnmarshalJSON ¶ added in v0.1.119
func (c *CreateUserReqBodyPasswordMode) UnmarshalJSON(b []byte) error
func (CreateUserReqBodyPasswordMode) Value ¶ added in v0.1.119
func (c CreateUserReqBodyPasswordMode) Value() string
type CreateUserReqBodyPasswordModeEnum ¶ added in v0.1.119
type CreateUserReqBodyPasswordModeEnum struct { OTP CreateUserReqBodyPasswordMode EMAIL CreateUserReqBodyPasswordMode }
func GetCreateUserReqBodyPasswordModeEnum ¶ added in v0.1.119
func GetCreateUserReqBodyPasswordModeEnum() CreateUserReqBodyPasswordModeEnum
type CreateUserRequest ¶ added in v0.1.119
type CreateUserRequest struct { // 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。 XSecurityToken *string `json:"X-Security-Token,omitempty"` // 身份源的全局唯一标识符(ID) IdentityStoreId string `json:"identity_store_id"` Body *CreateUserReqBody `json:"body,omitempty"` }
CreateUserRequest Request Object
func (CreateUserRequest) String ¶ added in v0.1.119
func (o CreateUserRequest) String() string
type CreateUserResponse ¶ added in v0.1.119
type CreateUserResponse struct { // 身份源的全局唯一标识符(ID) IdentityStoreId *string `json:"identity_store_id,omitempty"` // 身份源中IAM身份中心用户的全局唯一标识符(ID) UserId *string `json:"user_id,omitempty"` // 用于初始化密码的一次性密码 Password *string `json:"password,omitempty"` HttpStatusCode int `json:"-"` }
CreateUserResponse Response Object
func (CreateUserResponse) String ¶ added in v0.1.119
func (o CreateUserResponse) String() string
type DeleteGroupMembershipRequest ¶ added in v0.1.119
type DeleteGroupMembershipRequest struct { // 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。 XSecurityToken *string `json:"X-Security-Token,omitempty"` // 身份源的全局唯一标识符(ID) IdentityStoreId string `json:"identity_store_id"` // 身份源中用户和组关联关系的全局唯一标识符(ID) MembershipId string `json:"membership_id"` }
DeleteGroupMembershipRequest Request Object
func (DeleteGroupMembershipRequest) String ¶ added in v0.1.119
func (o DeleteGroupMembershipRequest) String() string
type DeleteGroupMembershipResponse ¶ added in v0.1.119
type DeleteGroupMembershipResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteGroupMembershipResponse Response Object
func (DeleteGroupMembershipResponse) String ¶ added in v0.1.119
func (o DeleteGroupMembershipResponse) String() string
type DeleteGroupRequest ¶ added in v0.1.119
type DeleteGroupRequest struct { // 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。 XSecurityToken *string `json:"X-Security-Token,omitempty"` // 身份源的全局唯一标识符(ID) IdentityStoreId string `json:"identity_store_id"` // 身份源中IAM身份中心用户组的全局唯一标识符(ID) GroupId string `json:"group_id"` }
DeleteGroupRequest Request Object
func (DeleteGroupRequest) String ¶ added in v0.1.119
func (o DeleteGroupRequest) String() string
type DeleteGroupResponse ¶ added in v0.1.119
type DeleteGroupResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteGroupResponse Response Object
func (DeleteGroupResponse) String ¶ added in v0.1.119
func (o DeleteGroupResponse) String() string
type DeleteUserRequest ¶ added in v0.1.119
type DeleteUserRequest struct { // 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。 XSecurityToken *string `json:"X-Security-Token,omitempty"` // 身份源的全局唯一标识符(ID) IdentityStoreId string `json:"identity_store_id"` // 身份源中IAM身份中心用户的全局唯一标识符(ID) UserId string `json:"user_id"` }
DeleteUserRequest Request Object
func (DeleteUserRequest) String ¶ added in v0.1.119
func (o DeleteUserRequest) String() string
type DeleteUserResponse ¶ added in v0.1.119
type DeleteUserResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteUserResponse Response Object
func (DeleteUserResponse) String ¶ added in v0.1.119
func (o DeleteUserResponse) String() string
type DescribeGroupMembershipRequest ¶ added in v0.1.119
type DescribeGroupMembershipRequest struct { // 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。 XSecurityToken *string `json:"X-Security-Token,omitempty"` // 身份源的全局唯一标识符(ID) IdentityStoreId string `json:"identity_store_id"` // 身份源中用户和组关联关系的全局唯一标识符(ID) MembershipId string `json:"membership_id"` }
DescribeGroupMembershipRequest Request Object
func (DescribeGroupMembershipRequest) String ¶ added in v0.1.119
func (o DescribeGroupMembershipRequest) String() string
type DescribeGroupMembershipResponse ¶ added in v0.1.119
type DescribeGroupMembershipResponse struct { // 身份源中IAM身份中心用户组的全局唯一标识符(ID) GroupId *string `json:"group_id,omitempty"` // 身份源的全局唯一标识符(ID) IdentityStoreId *string `json:"identity_store_id,omitempty"` MemberId *MemberIdDto `json:"member_id,omitempty"` // 身份源中用户和组关联关系的全局唯一标识符(ID) MembershipId *string `json:"membership_id,omitempty"` HttpStatusCode int `json:"-"` }
DescribeGroupMembershipResponse Response Object
func (DescribeGroupMembershipResponse) String ¶ added in v0.1.119
func (o DescribeGroupMembershipResponse) String() string
type DescribeGroupRequest ¶ added in v0.1.119
type DescribeGroupRequest struct { // 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。 XSecurityToken *string `json:"X-Security-Token,omitempty"` // 身份源的全局唯一标识符(ID) IdentityStoreId string `json:"identity_store_id"` // 身份源中IAM身份中心用户组的全局唯一标识符(ID) GroupId string `json:"group_id"` }
DescribeGroupRequest Request Object
func (DescribeGroupRequest) String ¶ added in v0.1.119
func (o DescribeGroupRequest) String() string
type DescribeGroupResponse ¶ added in v0.1.119
type DescribeGroupResponse struct { // 包含组描述的字符串 Description *string `json:"description,omitempty"` // 包含组显示名称的字符串 DisplayName *string `json:"display_name,omitempty"` // 外部身份源分配给此资源的标识符 ExternalId *string `json:"external_id,omitempty"` // 包含外部身份提供商颁发给此资源的标识符的对象列表 ExternalIds *[]ExternalIdDto `json:"external_ids,omitempty"` // 身份源中IAM身份中心用户组的全局唯一标识符(ID) GroupId *string `json:"group_id,omitempty"` // 身份源的全局唯一标识符(ID) IdentityStoreId *string `json:"identity_store_id,omitempty"` // 创建时的时间戳 CreatedAt *int64 `json:"created_at,omitempty"` // 创建者 CreatedBy *string `json:"created_by,omitempty"` // 更新时的时间戳 UpdatedAt *int64 `json:"updated_at,omitempty"` // 更新者 UpdatedBy *string `json:"updated_by,omitempty"` HttpStatusCode int `json:"-"` }
DescribeGroupResponse Response Object
func (DescribeGroupResponse) String ¶ added in v0.1.119
func (o DescribeGroupResponse) String() string
type DescribeUserRequest ¶ added in v0.1.119
type DescribeUserRequest struct { // 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。 XSecurityToken *string `json:"X-Security-Token,omitempty"` // 身份源的全局唯一标识符(ID) IdentityStoreId string `json:"identity_store_id"` // 身份源中IAM身份中心用户的全局唯一标识符(ID) UserId string `json:"user_id"` }
DescribeUserRequest Request Object
func (DescribeUserRequest) String ¶ added in v0.1.119
func (o DescribeUserRequest) String() string
type DescribeUserResponse ¶ added in v0.1.119
type DescribeUserResponse struct { // 用户的地址信息列表 Addresses *[]AddressDto `json:"addresses,omitempty"` // 用户的显示名称 DisplayName *string `json:"display_name,omitempty"` // 用户的电子邮箱信息列表 Emails *[]EmailDto `json:"emails,omitempty"` // 外部身份源分配给此资源的标识符 ExternalId *string `json:"external_id,omitempty"` // 用户的外部标识符信息列表 ExternalIds *[]ExternalIdDto `json:"external_ids,omitempty"` // 身份源的全局唯一标识符(ID) IdentityStoreId *string `json:"identity_store_id,omitempty"` // 用户的地理区域或位置信息 Locale *string `json:"locale,omitempty"` Name *NameDto `json:"name,omitempty"` // 用户昵称 Nickname *string `json:"nickname,omitempty"` // 用户的电话号码信息列表 PhoneNumbers *[]PhoneNumberDto `json:"phone_numbers,omitempty"` // 用户语言首选项 PreferredLanguage *string `json:"preferred_language,omitempty"` // 与用户关联的URL ProfileUrl *string `json:"profile_url,omitempty"` // 用户时区 Timezone *string `json:"timezone,omitempty"` // 用户头衔 Title *string `json:"title,omitempty"` // 身份源中IAM身份中心用户的全局唯一标识符(ID) UserId *string `json:"user_id,omitempty"` // 用户名,用于标识用户的唯一字符串 UserName *string `json:"user_name,omitempty"` // 用户类型 UserType *string `json:"user_type,omitempty"` // 创建用户时的时间戳 CreatedAt *int64 `json:"created_at,omitempty"` // 创建者 CreatedBy *string `json:"created_by,omitempty"` // 更新用户时的时间戳 UpdatedAt *int64 `json:"updated_at,omitempty"` // 更新者 UpdatedBy *string `json:"updated_by,omitempty"` // 一个布尔值,表示用户主的电子邮箱是否验证 EmailVerified *bool `json:"email_verified,omitempty"` // 一个布尔值,表示用户是否启用 Enabled *bool `json:"enabled,omitempty"` Enterprise *EnterpriseDto `json:"enterprise,omitempty"` HttpStatusCode int `json:"-"` }
DescribeUserResponse Response Object
func (DescribeUserResponse) String ¶ added in v0.1.119
func (o DescribeUserResponse) String() string
type EmailDto ¶
type EmailDto struct { // 一个布尔值,表示这是否为用户的主电子邮箱 Primary bool `json:"primary"` // 表示电子邮箱类型的字符串 Type string `json:"type"` // 包含电子邮箱地址的字符串 Value string `json:"value"` // 电子邮箱地址的验证状态 VerificationStatus *EmailDtoVerificationStatus `json:"verification_status,omitempty"` }
EmailDto The email address associated with the user.
type EmailDtoVerificationStatus ¶ added in v0.1.86
type EmailDtoVerificationStatus struct {
// contains filtered or unexported fields
}
func (EmailDtoVerificationStatus) MarshalJSON ¶ added in v0.1.86
func (c EmailDtoVerificationStatus) MarshalJSON() ([]byte, error)
func (*EmailDtoVerificationStatus) UnmarshalJSON ¶ added in v0.1.86
func (c *EmailDtoVerificationStatus) UnmarshalJSON(b []byte) error
func (EmailDtoVerificationStatus) Value ¶ added in v0.1.86
func (c EmailDtoVerificationStatus) Value() string
type EmailDtoVerificationStatusEnum ¶ added in v0.1.86
type EmailDtoVerificationStatusEnum struct { NOT_VERIFIED EmailDtoVerificationStatus VERIFIED EmailDtoVerificationStatus }
func GetEmailDtoVerificationStatusEnum ¶ added in v0.1.86
func GetEmailDtoVerificationStatusEnum() EmailDtoVerificationStatusEnum
type EnterpriseDto ¶ added in v0.1.86
type EnterpriseDto struct { // 成本中心 CostCenter *string `json:"cost_center,omitempty"` // 部门 Department *string `json:"department,omitempty"` // 分部 Division *string `json:"division,omitempty"` // 员工编号 EmployeeNumber *string `json:"employee_number,omitempty"` Manager *ManagerDto `json:"manager,omitempty"` // 组织 Organization *string `json:"organization,omitempty"` }
EnterpriseDto 工作相关信息
func (EnterpriseDto) String ¶ added in v0.1.86
func (o EnterpriseDto) String() string
type ExternalIdDto ¶
type ExternalIdDto struct { // 外部身份提供商颁发给此资源的标识符 Id string `json:"id"` // 外部标识符的颁发者 Issuer string `json:"issuer"` }
ExternalIdDto The identifier issued to this resource by an external identity provider.
func (ExternalIdDto) String ¶
func (o ExternalIdDto) String() string
type GetGroupIdReqBody ¶ added in v0.1.119
type GetGroupIdReqBody struct {
AlternateIdentifier *AlternateIdentifierDto `json:"alternate_identifier"`
}
GetGroupIdReqBody 获取用户组id请求体
func (GetGroupIdReqBody) String ¶ added in v0.1.119
func (o GetGroupIdReqBody) String() string
type GetGroupIdRequest ¶ added in v0.1.119
type GetGroupIdRequest struct { // 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。 XSecurityToken *string `json:"X-Security-Token,omitempty"` // 身份源的全局唯一标识符(ID) IdentityStoreId string `json:"identity_store_id"` Body *GetGroupIdReqBody `json:"body,omitempty"` }
GetGroupIdRequest Request Object
func (GetGroupIdRequest) String ¶ added in v0.1.119
func (o GetGroupIdRequest) String() string
type GetGroupIdResponse ¶ added in v0.1.119
type GetGroupIdResponse struct { // 身份源中IAM身份中心用户组的全局唯一标识符(ID) GroupId *string `json:"group_id,omitempty"` // 身份源的全局唯一标识符(ID) IdentityStoreId *string `json:"identity_store_id,omitempty"` HttpStatusCode int `json:"-"` }
GetGroupIdResponse Response Object
func (GetGroupIdResponse) String ¶ added in v0.1.119
func (o GetGroupIdResponse) String() string
type GetGroupMembershipIdReqBody ¶ added in v0.1.119
type GetGroupMembershipIdReqBody struct { // 身份源中IAM身份中心用户组的全局唯一标识符(ID) GroupId string `json:"group_id"` MemberId *MemberIdDto `json:"member_id"` }
GetGroupMembershipIdReqBody 获取关联关系唯一标识请求体
func (GetGroupMembershipIdReqBody) String ¶ added in v0.1.119
func (o GetGroupMembershipIdReqBody) String() string
type GetGroupMembershipIdRequest ¶ added in v0.1.119
type GetGroupMembershipIdRequest struct { // 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。 XSecurityToken *string `json:"X-Security-Token,omitempty"` // 身份源的全局唯一标识符(ID) IdentityStoreId string `json:"identity_store_id"` Body *GetGroupMembershipIdReqBody `json:"body,omitempty"` }
GetGroupMembershipIdRequest Request Object
func (GetGroupMembershipIdRequest) String ¶ added in v0.1.119
func (o GetGroupMembershipIdRequest) String() string
type GetGroupMembershipIdResponse ¶ added in v0.1.119
type GetGroupMembershipIdResponse struct { // 身份源的全局唯一标识符(ID) IdentityStoreId *string `json:"identity_store_id,omitempty"` // 身份源中用户和组关联关系的全局唯一标识符(ID) MembershipId *string `json:"membership_id,omitempty"` HttpStatusCode int `json:"-"` }
GetGroupMembershipIdResponse Response Object
func (GetGroupMembershipIdResponse) String ¶ added in v0.1.119
func (o GetGroupMembershipIdResponse) String() string
type GetUserIdReqBody ¶ added in v0.1.119
type GetUserIdReqBody struct {
AlternateIdentifier *AlternateIdentifierDto `json:"alternate_identifier"`
}
GetUserIdReqBody 获取用户id的请求体
func (GetUserIdReqBody) String ¶ added in v0.1.119
func (o GetUserIdReqBody) String() string
type GetUserIdRequest ¶ added in v0.1.119
type GetUserIdRequest struct { // 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。 XSecurityToken *string `json:"X-Security-Token,omitempty"` // 身份源的全局唯一标识符(ID) IdentityStoreId string `json:"identity_store_id"` Body *GetUserIdReqBody `json:"body,omitempty"` }
GetUserIdRequest Request Object
func (GetUserIdRequest) String ¶ added in v0.1.119
func (o GetUserIdRequest) String() string
type GetUserIdResponse ¶ added in v0.1.119
type GetUserIdResponse struct { // 身份源的全局唯一标识符(ID) IdentityStoreId *string `json:"identity_store_id,omitempty"` // 身份源中IAM身份中心用户的全局唯一标识符(ID) UserId *string `json:"user_id,omitempty"` HttpStatusCode int `json:"-"` }
GetUserIdResponse Response Object
func (GetUserIdResponse) String ¶ added in v0.1.119
func (o GetUserIdResponse) String() string
type GroupDto ¶ added in v0.1.119
type GroupDto struct { // 包含用户组描述的字符串 Description *string `json:"description,omitempty"` // 包含用户组显示名称的字符串 DisplayName *string `json:"display_name,omitempty"` // 外部身份源分配给此资源的标识符 ExternalId *string `json:"external_id,omitempty"` // 包含外部身份提供商颁发给此资源的标识符的对象列表 ExternalIds *[]ExternalIdDto `json:"external_ids,omitempty"` // 身份源中IAM身份中心用户组的全局唯一标识符(ID) GroupId string `json:"group_id"` // 身份源的全局唯一标识符(ID) IdentityStoreId string `json:"identity_store_id"` // 创建时的时间戳 CreatedAt *int64 `json:"created_at,omitempty"` // 创建者 CreatedBy *string `json:"created_by,omitempty"` // 更新时的时间戳 UpdatedAt *int64 `json:"updated_at,omitempty"` // 更新者 UpdatedBy *string `json:"updated_by,omitempty"` }
GroupDto A group object that contains a specified group’s metadata and attributes.
type GroupMembershipDto ¶ added in v0.1.119
type GroupMembershipDto struct { // 身份源中IAM身份中心用户组的全局唯一标识符(ID) GroupId *string `json:"group_id,omitempty"` // 身份源的全局唯一标识符(ID) IdentityStoreId string `json:"identity_store_id"` MemberId *MemberIdDto `json:"member_id,omitempty"` // 身份源中用户和组关联关系的全局唯一标识符(ID) MembershipId *string `json:"membership_id,omitempty"` }
GroupMembershipDto Contains the identifiers for a group, a group member, and a GroupMembership object in the identity store.
func (GroupMembershipDto) String ¶ added in v0.1.119
func (o GroupMembershipDto) String() string
type GroupMembershipExistenceResultDto ¶ added in v0.1.119
type GroupMembershipExistenceResultDto struct { // 身份源中IAM身份中心用户组的全局唯一标识符(ID) GroupId *string `json:"group_id,omitempty"` MemberId *MemberIdDto `json:"member_id,omitempty"` // 一个布尔值,表示用户是否在组中 MembershipExists *bool `json:"membership_exists,omitempty"` }
GroupMembershipExistenceResultDto Indicates whether a resource is a member of a group in the identity store.
func (GroupMembershipExistenceResultDto) String ¶ added in v0.1.119
func (o GroupMembershipExistenceResultDto) String() string
type GroupMembershipItem ¶ added in v0.1.119
type GroupMembershipItem struct { // 身份源中IAM身份中心用户组的全局唯一标识符(ID) GroupId *string `json:"group_id,omitempty"` // 身份源的全局唯一标识符(ID) IdentityStoreId *string `json:"identity_store_id,omitempty"` MemberId *MemberIdDto `json:"member_id,omitempty"` // 身份源中用户和组关联关系的全局唯一标识符(ID) MembershipId *string `json:"membership_id,omitempty"` }
GroupMembershipItem 关联关系
func (GroupMembershipItem) String ¶ added in v0.1.119
func (o GroupMembershipItem) String() string
type IsMemberInGroupsReqBody ¶ added in v0.1.119
type IsMemberInGroupsReqBody struct { // 用户组标识符列表 GroupIds []string `json:"group_ids"` MemberId *MemberIdDto `json:"member_id"` }
IsMemberInGroupsReqBody 判断用户是否在用户组请求体
func (IsMemberInGroupsReqBody) String ¶ added in v0.1.119
func (o IsMemberInGroupsReqBody) String() string
type IsMemberInGroupsRequest ¶ added in v0.1.119
type IsMemberInGroupsRequest struct { // 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。 XSecurityToken *string `json:"X-Security-Token,omitempty"` // 身份源的全局唯一标识符(ID) IdentityStoreId string `json:"identity_store_id"` Body *IsMemberInGroupsReqBody `json:"body,omitempty"` }
IsMemberInGroupsRequest Request Object
func (IsMemberInGroupsRequest) String ¶ added in v0.1.119
func (o IsMemberInGroupsRequest) String() string
type IsMemberInGroupsResponse ¶ added in v0.1.119
type IsMemberInGroupsResponse struct { // 成员是否在用户组内的结果列表 Results *[]GroupMembershipExistenceResultDto `json:"results,omitempty"` HttpStatusCode int `json:"-"` }
IsMemberInGroupsResponse Response Object
func (IsMemberInGroupsResponse) String ¶ added in v0.1.119
func (o IsMemberInGroupsResponse) String() string
type ListGroupMembershipsForMemberRequest ¶ added in v0.1.119
type ListGroupMembershipsForMemberRequest struct { // 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。 XSecurityToken *string `json:"X-Security-Token,omitempty"` // 身份源的全局唯一标识符(ID) IdentityStoreId string `json:"identity_store_id"` // 每个请求返回的最大结果数 Limit *int32 `json:"limit,omitempty"` // 分页标记 Marker *string `json:"marker,omitempty"` // 用户唯一标识 UserId string `json:"user_id"` }
ListGroupMembershipsForMemberRequest Request Object
func (ListGroupMembershipsForMemberRequest) String ¶ added in v0.1.119
func (o ListGroupMembershipsForMemberRequest) String() string
type ListGroupMembershipsForMemberResponse ¶ added in v0.1.119
type ListGroupMembershipsForMemberResponse struct { // 满足查询条件的关联关系对象列表 GroupMemberships *[]GroupMembershipItem `json:"group_memberships,omitempty"` PageInfo *PageInfoDto `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListGroupMembershipsForMemberResponse Response Object
func (ListGroupMembershipsForMemberResponse) String ¶ added in v0.1.119
func (o ListGroupMembershipsForMemberResponse) String() string
type ListGroupMembershipsRequest ¶ added in v0.1.119
type ListGroupMembershipsRequest struct { // 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。 XSecurityToken *string `json:"X-Security-Token,omitempty"` // 身份源的全局唯一标识符(ID) IdentityStoreId string `json:"identity_store_id"` // 每个请求返回的最大结果数 Limit *int32 `json:"limit,omitempty"` // 分页标记 Marker *string `json:"marker,omitempty"` // 身份源中IAM身份中心用户组的全局唯一标识符(ID) GroupId string `json:"group_id"` }
ListGroupMembershipsRequest Request Object
func (ListGroupMembershipsRequest) String ¶ added in v0.1.119
func (o ListGroupMembershipsRequest) String() string
type ListGroupMembershipsResponse ¶ added in v0.1.119
type ListGroupMembershipsResponse struct { // 满足查询条件的关联关系对象列表 GroupMemberships *[]GroupMembershipDto `json:"group_memberships,omitempty"` PageInfo *PageInfoDto `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListGroupMembershipsResponse Response Object
func (ListGroupMembershipsResponse) String ¶ added in v0.1.119
func (o ListGroupMembershipsResponse) String() string
type ListGroupsRequest ¶ added in v0.1.119
type ListGroupsRequest struct { // 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。 XSecurityToken *string `json:"X-Security-Token,omitempty"` // 身份源的全局唯一标识符(ID) IdentityStoreId string `json:"identity_store_id"` // 分页标记 Marker *string `json:"marker,omitempty"` // 每个请求返回的最大结果数 Limit *int32 `json:"limit,omitempty"` // 通过显示名模糊查询用户组信息 DisplayName *string `json:"display_name,omitempty"` }
ListGroupsRequest Request Object
func (ListGroupsRequest) String ¶ added in v0.1.119
func (o ListGroupsRequest) String() string
type ListGroupsResponse ¶ added in v0.1.119
type ListGroupsResponse struct { // 满足查询条件的用户组对象列表 Groups *[]GroupDto `json:"groups,omitempty"` PageInfo *PageInfoDto `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListGroupsResponse Response Object
func (ListGroupsResponse) String ¶ added in v0.1.119
func (o ListGroupsResponse) String() string
type ListUsersRequest ¶
type ListUsersRequest struct { // 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。 XSecurityToken *string `json:"X-Security-Token,omitempty"` // 分页标记 Marker *string `json:"marker,omitempty"` // 每个请求返回的最大结果数 Limit *int32 `json:"limit,omitempty"` // 身份源的全局唯一标识符(ID) IdentityStoreId string `json:"identity_store_id"` // 用户名 UserName *string `json:"user_name,omitempty"` }
ListUsersRequest Request Object
func (ListUsersRequest) String ¶
func (o ListUsersRequest) String() string
type ListUsersResponse ¶
type ListUsersResponse struct { PageInfo *PageInfoDto `json:"page_info,omitempty"` // 身份源中的用户列表 Users *[]UserDto `json:"users,omitempty"` HttpStatusCode int `json:"-"` }
ListUsersResponse Response Object
func (ListUsersResponse) String ¶
func (o ListUsersResponse) String() string
type ManagerDto ¶ added in v0.1.86
type ManagerDto struct { // 经理 Value *string `json:"value,omitempty"` }
func (ManagerDto) String ¶ added in v0.1.86
func (o ManagerDto) String() string
type MemberIdDto ¶ added in v0.1.119
type MemberIdDto struct { // 身份源中IAM身份中心用户的全局唯一标识符(ID) UserId string `json:"user_id"` }
MemberIdDto An object containing the identifier of a group member.
func (MemberIdDto) String ¶ added in v0.1.119
func (o MemberIdDto) String() string
type NameDto ¶
type NameDto struct { // 用户的姓氏 FamilyName string `json:"family_name"` // 包含要显示的名称的格式化版本的字符串 Formatted *string `json:"formatted,omitempty"` // 用户的名字 GivenName string `json:"given_name"` // 用户的尊称前缀 HonorificPrefix *string `json:"honorific_prefix,omitempty"` // 用户的尊称后缀 HonorificSuffix *string `json:"honorific_suffix,omitempty"` // 用户的中间名 MiddleName *string `json:"middle_name,omitempty"` }
NameDto The full name of the user.
type PageInfoDto ¶
type PageInfoDto struct { // 如果存在,则表示可用的输出比当前响应中包含的输出多。在对操作的后续调用中,在标签请求参数中使用此值,以获取输出的下一部分。您应该重复此操作,直到next_marker响应元素返回为null NextMarker string `json:"next_marker"` // 本页返回条目数量 CurrentCount *int32 `json:"current_count,omitempty"` }
PageInfoDto 分页信息
func (PageInfoDto) String ¶
func (o PageInfoDto) String() string
type PhoneNumberDto ¶
type PhoneNumberDto struct { // 一个布尔值,表示这是否为用户的主电话号码 Primary *bool `json:"primary,omitempty"` // 表示电话号码类型的字符串 Type *string `json:"type,omitempty"` // 包含电话号码的字符串 Value *string `json:"value,omitempty"` }
PhoneNumberDto The phone number associated with the user.
func (PhoneNumberDto) String ¶
func (o PhoneNumberDto) String() string
type UniqueAttributeDto ¶ added in v0.1.119
type UniqueAttributeDto struct { // 属性路径 AttributePath string `json:"attribute_path"` // 属性的值 AttributeValue string `json:"attribute_value"` }
UniqueAttributeDto An entity attribute that's unique to a specific entity.
func (UniqueAttributeDto) String ¶ added in v0.1.119
func (o UniqueAttributeDto) String() string
type UpdateGroupReqBody ¶ added in v0.1.119
type UpdateGroupReqBody struct { // 更新的用户组属性列表 Operations []AttributeOperationDto `json:"operations"` }
UpdateGroupReqBody 更新用户组请求体
func (UpdateGroupReqBody) String ¶ added in v0.1.119
func (o UpdateGroupReqBody) String() string
type UpdateGroupRequest ¶ added in v0.1.119
type UpdateGroupRequest struct { // 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。 XSecurityToken *string `json:"X-Security-Token,omitempty"` // 身份源的全局唯一标识符(ID) IdentityStoreId string `json:"identity_store_id"` // 身份源中IAM身份中心用户组的全局唯一标识符(ID) GroupId string `json:"group_id"` Body *UpdateGroupReqBody `json:"body,omitempty"` }
UpdateGroupRequest Request Object
func (UpdateGroupRequest) String ¶ added in v0.1.119
func (o UpdateGroupRequest) String() string
type UpdateGroupResponse ¶ added in v0.1.119
type UpdateGroupResponse struct {
HttpStatusCode int `json:"-"`
}
UpdateGroupResponse Response Object
func (UpdateGroupResponse) String ¶ added in v0.1.119
func (o UpdateGroupResponse) String() string
type UpdateUserReqBody ¶ added in v0.1.119
type UpdateUserReqBody struct { // 更新的用户属性列表 Operations []AttributeOperationDto `json:"operations"` }
UpdateUserReqBody 更新用户请求体
func (UpdateUserReqBody) String ¶ added in v0.1.119
func (o UpdateUserReqBody) String() string
type UpdateUserRequest ¶ added in v0.1.119
type UpdateUserRequest struct { // 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。 XSecurityToken *string `json:"X-Security-Token,omitempty"` // 身份源的全局唯一标识符(ID) IdentityStoreId string `json:"identity_store_id"` // 身份源中IAM身份中心用户的全局唯一标识符(ID) UserId string `json:"user_id"` Body *UpdateUserReqBody `json:"body,omitempty"` }
UpdateUserRequest Request Object
func (UpdateUserRequest) String ¶ added in v0.1.119
func (o UpdateUserRequest) String() string
type UpdateUserResponse ¶ added in v0.1.119
type UpdateUserResponse struct {
HttpStatusCode int `json:"-"`
}
UpdateUserResponse Response Object
func (UpdateUserResponse) String ¶ added in v0.1.119
func (o UpdateUserResponse) String() string
type UserDto ¶
type UserDto struct { // 用户的地址信息列表 Addresses *[]AddressDto `json:"addresses,omitempty"` // 用户的显示名称 DisplayName string `json:"display_name"` // 用户的电子邮箱信息列表 Emails []EmailDto `json:"emails"` // 外部身份源分配给此资源的标识符 ExternalId *string `json:"external_id,omitempty"` // 用户的外部标识符信息列表 ExternalIds *[]ExternalIdDto `json:"external_ids,omitempty"` // 身份源的全局唯一标识符(ID) IdentityStoreId string `json:"identity_store_id"` // 用户的地理区域或位置信息 Locale *string `json:"locale,omitempty"` Name *NameDto `json:"name"` // 用户昵称 Nickname *string `json:"nickname,omitempty"` // 用户的电话号码信息列表 PhoneNumbers *[]PhoneNumberDto `json:"phone_numbers,omitempty"` // 用户语言首选项 PreferredLanguage *string `json:"preferred_language,omitempty"` // 与用户关联的URL ProfileUrl *string `json:"profile_url,omitempty"` // 用户时区 Timezone *string `json:"timezone,omitempty"` // 用户头衔 Title *string `json:"title,omitempty"` // 身份源中IAM身份中心用户的全局唯一标识符(ID) UserId string `json:"user_id"` // 用户名,用于标识用户的唯一字符串 UserName string `json:"user_name"` // 用户类型 UserType *string `json:"user_type,omitempty"` // 创建用户时的时间戳 CreatedAt int64 `json:"created_at"` // 创建者 CreatedBy string `json:"created_by"` // 更新用户时的时间戳 UpdatedAt int64 `json:"updated_at"` // 更新者 UpdatedBy string `json:"updated_by"` // 一个布尔值,表示用户是否启用 Enabled bool `json:"enabled"` Enterprise *EnterpriseDto `json:"enterprise,omitempty"` }
UserDto A user object that contains a specified user’s metadata and attributes.
Source Files ¶
- model_address_dto.go
- model_alternate_identifier_dto.go
- model_attribute_operation_dto.go
- model_create_group_membership_req_body.go
- model_create_group_membership_request.go
- model_create_group_membership_response.go
- model_create_group_req_body.go
- model_create_group_request.go
- model_create_group_response.go
- model_create_user_req_body.go
- model_create_user_request.go
- model_create_user_response.go
- model_delete_group_membership_request.go
- model_delete_group_membership_response.go
- model_delete_group_request.go
- model_delete_group_response.go
- model_delete_user_request.go
- model_delete_user_response.go
- model_describe_group_membership_request.go
- model_describe_group_membership_response.go
- model_describe_group_request.go
- model_describe_group_response.go
- model_describe_user_request.go
- model_describe_user_response.go
- model_email_dto.go
- model_enterprise_dto.go
- model_external_id_dto.go
- model_get_group_id_req_body.go
- model_get_group_id_request.go
- model_get_group_id_response.go
- model_get_group_membership_id_req_body.go
- model_get_group_membership_id_request.go
- model_get_group_membership_id_response.go
- model_get_user_id_req_body.go
- model_get_user_id_request.go
- model_get_user_id_response.go
- model_group_dto.go
- model_group_membership_dto.go
- model_group_membership_existence_result_dto.go
- model_group_membership_item.go
- model_is_member_in_groups_req_body.go
- model_is_member_in_groups_request.go
- model_is_member_in_groups_response.go
- model_list_group_memberships_for_member_request.go
- model_list_group_memberships_for_member_response.go
- model_list_group_memberships_request.go
- model_list_group_memberships_response.go
- model_list_groups_request.go
- model_list_groups_response.go
- model_list_users_request.go
- model_list_users_response.go
- model_manager_dto.go
- model_member_id_dto.go
- model_name_dto.go
- model_page_info_dto.go
- model_phone_number_dto.go
- model_unique_attribute_dto.go
- model_update_group_req_body.go
- model_update_group_request.go
- model_update_group_response.go
- model_update_user_req_body.go
- model_update_user_request.go
- model_update_user_response.go
- model_user_dto.go