 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
- type AddUserRequest
- type AddUserResponse
- type AddUserToGroupRequest
- type AddUserToGroupResponse
- type AttachEntityOfPolicy
- type AttachGroupPolicyRequest
- type AttachGroupPolicyResponse
- type AttachPolicyInfo
- type AttachRolePolicyRequest
- type AttachRolePolicyResponse
- type AttachUserPolicyRequest
- type AttachUserPolicyResponse
- type AttachedPolicyOfRole
- type Client
- func (c *Client) AddUser(request *AddUserRequest) (response *AddUserResponse, err error)
- func (c *Client) AddUserToGroup(request *AddUserToGroupRequest) (response *AddUserToGroupResponse, err error)
- func (c *Client) AttachGroupPolicy(request *AttachGroupPolicyRequest) (response *AttachGroupPolicyResponse, err error)
- func (c *Client) AttachRolePolicy(request *AttachRolePolicyRequest) (response *AttachRolePolicyResponse, err error)
- func (c *Client) AttachUserPolicy(request *AttachUserPolicyRequest) (response *AttachUserPolicyResponse, err error)
- func (c *Client) ConsumeCustomMFAToken(request *ConsumeCustomMFATokenRequest) (response *ConsumeCustomMFATokenResponse, err error)
- func (c *Client) CreateGroup(request *CreateGroupRequest) (response *CreateGroupResponse, err error)
- func (c *Client) CreatePolicy(request *CreatePolicyRequest) (response *CreatePolicyResponse, err error)
- func (c *Client) CreateRole(request *CreateRoleRequest) (response *CreateRoleResponse, err error)
- func (c *Client) CreateSAMLProvider(request *CreateSAMLProviderRequest) (response *CreateSAMLProviderResponse, err error)
- func (c *Client) DeleteGroup(request *DeleteGroupRequest) (response *DeleteGroupResponse, err error)
- func (c *Client) DeletePolicy(request *DeletePolicyRequest) (response *DeletePolicyResponse, err error)
- func (c *Client) DeleteRole(request *DeleteRoleRequest) (response *DeleteRoleResponse, err error)
- func (c *Client) DeleteSAMLProvider(request *DeleteSAMLProviderRequest) (response *DeleteSAMLProviderResponse, err error)
- func (c *Client) DeleteUser(request *DeleteUserRequest) (response *DeleteUserResponse, err error)
- func (c *Client) DescribeRoleList(request *DescribeRoleListRequest) (response *DescribeRoleListResponse, err error)
- func (c *Client) DetachGroupPolicy(request *DetachGroupPolicyRequest) (response *DetachGroupPolicyResponse, err error)
- func (c *Client) DetachRolePolicy(request *DetachRolePolicyRequest) (response *DetachRolePolicyResponse, err error)
- func (c *Client) DetachUserPolicy(request *DetachUserPolicyRequest) (response *DetachUserPolicyResponse, err error)
- func (c *Client) GetCustomMFATokenInfo(request *GetCustomMFATokenInfoRequest) (response *GetCustomMFATokenInfoResponse, err error)
- func (c *Client) GetGroup(request *GetGroupRequest) (response *GetGroupResponse, err error)
- func (c *Client) GetPolicy(request *GetPolicyRequest) (response *GetPolicyResponse, err error)
- func (c *Client) GetRole(request *GetRoleRequest) (response *GetRoleResponse, err error)
- func (c *Client) GetSAMLProvider(request *GetSAMLProviderRequest) (response *GetSAMLProviderResponse, err error)
- func (c *Client) GetUser(request *GetUserRequest) (response *GetUserResponse, err error)
- func (c *Client) ListAttachedGroupPolicies(request *ListAttachedGroupPoliciesRequest) (response *ListAttachedGroupPoliciesResponse, err error)
- func (c *Client) ListAttachedRolePolicies(request *ListAttachedRolePoliciesRequest) (response *ListAttachedRolePoliciesResponse, err error)
- func (c *Client) ListAttachedUserPolicies(request *ListAttachedUserPoliciesRequest) (response *ListAttachedUserPoliciesResponse, err error)
- func (c *Client) ListEntitiesForPolicy(request *ListEntitiesForPolicyRequest) (response *ListEntitiesForPolicyResponse, err error)
- func (c *Client) ListGroups(request *ListGroupsRequest) (response *ListGroupsResponse, err error)
- func (c *Client) ListGroupsForUser(request *ListGroupsForUserRequest) (response *ListGroupsForUserResponse, err error)
- func (c *Client) ListPolicies(request *ListPoliciesRequest) (response *ListPoliciesResponse, err error)
- func (c *Client) ListSAMLProviders(request *ListSAMLProvidersRequest) (response *ListSAMLProvidersResponse, err error)
- func (c *Client) ListUsers(request *ListUsersRequest) (response *ListUsersResponse, err error)
- func (c *Client) ListUsersForGroup(request *ListUsersForGroupRequest) (response *ListUsersForGroupResponse, err error)
- func (c *Client) RemoveUserFromGroup(request *RemoveUserFromGroupRequest) (response *RemoveUserFromGroupResponse, err error)
- func (c *Client) SetFlag(request *SetFlagRequest) (response *SetFlagResponse, err error)
- func (c *Client) UpdateAssumeRolePolicy(request *UpdateAssumeRolePolicyRequest) (response *UpdateAssumeRolePolicyResponse, err error)
- func (c *Client) UpdateGroup(request *UpdateGroupRequest) (response *UpdateGroupResponse, err error)
- func (c *Client) UpdatePolicy(request *UpdatePolicyRequest) (response *UpdatePolicyResponse, err error)
- func (c *Client) UpdateRoleDescription(request *UpdateRoleDescriptionRequest) (response *UpdateRoleDescriptionResponse, err error)
- func (c *Client) UpdateSAMLProvider(request *UpdateSAMLProviderRequest) (response *UpdateSAMLProviderResponse, err error)
- func (c *Client) UpdateUser(request *UpdateUserRequest) (response *UpdateUserResponse, err error)
 
- type ConsumeCustomMFATokenRequest
- type ConsumeCustomMFATokenResponse
- type CreateGroupRequest
- type CreateGroupResponse
- type CreatePolicyRequest
- type CreatePolicyResponse
- type CreateRoleRequest
- type CreateRoleResponse
- type CreateSAMLProviderRequest
- type CreateSAMLProviderResponse
- type DeleteGroupRequest
- type DeleteGroupResponse
- type DeletePolicyRequest
- type DeletePolicyResponse
- type DeleteRoleRequest
- type DeleteRoleResponse
- type DeleteSAMLProviderRequest
- type DeleteSAMLProviderResponse
- type DeleteUserRequest
- type DeleteUserResponse
- type DescribeRoleListRequest
- type DescribeRoleListResponse
- type DetachGroupPolicyRequest
- type DetachGroupPolicyResponse
- type DetachRolePolicyRequest
- type DetachRolePolicyResponse
- type DetachUserPolicyRequest
- type DetachUserPolicyResponse
- type GetCustomMFATokenInfoRequest
- type GetCustomMFATokenInfoResponse
- type GetGroupRequest
- type GetGroupResponse
- type GetPolicyRequest
- type GetPolicyResponse
- type GetRoleRequest
- type GetRoleResponse
- type GetSAMLProviderRequest
- type GetSAMLProviderResponse
- type GetUserRequest
- type GetUserResponse
- type GroupIdOfUidInfo
- type GroupInfo
- type GroupMemberInfo
- type ListAttachedGroupPoliciesRequest
- type ListAttachedGroupPoliciesResponse
- type ListAttachedRolePoliciesRequest
- type ListAttachedRolePoliciesResponse
- type ListAttachedUserPoliciesRequest
- type ListAttachedUserPoliciesResponse
- type ListEntitiesForPolicyRequest
- type ListEntitiesForPolicyResponse
- type ListGroupsForUserRequest
- type ListGroupsForUserResponse
- type ListGroupsRequest
- type ListGroupsResponse
- type ListPoliciesRequest
- type ListPoliciesResponse
- type ListSAMLProvidersRequest
- type ListSAMLProvidersResponse
- type ListUsersForGroupRequest
- type ListUsersForGroupResponse
- type ListUsersRequest
- type ListUsersResponse
- type LoginActionFlag
- type OffsiteFlag
- type RemoveUserFromGroupRequest
- type RemoveUserFromGroupResponse
- type RoleInfo
- type SAMLProviderInfo
- type SetFlagRequest
- type SetFlagResponse
- type StrategyInfo
- type SubAccountInfo
- type UpdateAssumeRolePolicyRequest
- type UpdateAssumeRolePolicyResponse
- type UpdateGroupRequest
- type UpdateGroupResponse
- type UpdatePolicyRequest
- type UpdatePolicyResponse
- type UpdateRoleDescriptionRequest
- type UpdateRoleDescriptionResponse
- type UpdateSAMLProviderRequest
- type UpdateSAMLProviderResponse
- type UpdateUserRequest
- type UpdateUserResponse
Constants ¶
const APIVersion = "2019-01-16"
    Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddUserRequest ¶
type AddUserRequest struct {
	*tchttp.BaseRequest
	// 子用户用户名
	Name *string `json:"Name,omitempty" name:"Name"`
	// 子用户备注
	Remark *string `json:"Remark,omitempty" name:"Remark"`
	// 子用户是否可以登录控制台。传0子用户无法登录控制台,传1子用户可以登录控制台。
	ConsoleLogin *uint64 `json:"ConsoleLogin,omitempty" name:"ConsoleLogin"`
	// 是否生成子用户密钥。传0不生成子用户密钥,传1生成子用户密钥。
	UseApi *uint64 `json:"UseApi,omitempty" name:"UseApi"`
	// 子用户控制台登录密码,若未进行密码规则设置则默认密码规则为8位以上同时包含大写小字母、数字和特殊字符。只有可以登录控制台时才有效,如果传空并且上面指定允许登录控制台,则自动生成随机密码,随机密码规则为32位包含大写小字母、数字和特殊字符。
	Password *string `json:"Password,omitempty" name:"Password"`
	// 子用户是否要在下次登录时重置密码。传0子用户下次登录控制台不需重置密码,传1子用户下次登录控制台需要重置密码。
	NeedResetPassword *uint64 `json:"NeedResetPassword,omitempty" name:"NeedResetPassword"`
	// 手机号
	PhoneNum *string `json:"PhoneNum,omitempty" name:"PhoneNum"`
	// 区号
	CountryCode *string `json:"CountryCode,omitempty" name:"CountryCode"`
	// 邮箱
	Email *string `json:"Email,omitempty" name:"Email"`
}
    func NewAddUserRequest ¶
func NewAddUserRequest() (request *AddUserRequest)
func (*AddUserRequest) FromJsonString ¶
func (r *AddUserRequest) FromJsonString(s string) error
func (*AddUserRequest) ToJsonString ¶
func (r *AddUserRequest) ToJsonString() string
type AddUserResponse ¶
type AddUserResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 子用户 UIN
		Uin *uint64 `json:"Uin,omitempty" name:"Uin"`
		// 子用户用户名
		Name *string `json:"Name,omitempty" name:"Name"`
		// 如果输入参数组合为自动生成随机密码,则返回生成的密码
		Password *string `json:"Password,omitempty" name:"Password"`
		// 子用户密钥 ID
		SecretId *string `json:"SecretId,omitempty" name:"SecretId"`
		// 子用户密钥 Key
		SecretKey *string `json:"SecretKey,omitempty" name:"SecretKey"`
		// 子用户 UID
		Uid *uint64 `json:"Uid,omitempty" name:"Uid"`
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewAddUserResponse ¶
func NewAddUserResponse() (response *AddUserResponse)
func (*AddUserResponse) FromJsonString ¶
func (r *AddUserResponse) FromJsonString(s string) error
func (*AddUserResponse) ToJsonString ¶
func (r *AddUserResponse) ToJsonString() string
type AddUserToGroupRequest ¶
type AddUserToGroupRequest struct {
	*tchttp.BaseRequest
	// 添加的子用户 UID 和用户组 ID 关联关系
	Info []*GroupIdOfUidInfo `json:"Info,omitempty" name:"Info" list`
}
    func NewAddUserToGroupRequest ¶
func NewAddUserToGroupRequest() (request *AddUserToGroupRequest)
func (*AddUserToGroupRequest) FromJsonString ¶
func (r *AddUserToGroupRequest) FromJsonString(s string) error
func (*AddUserToGroupRequest) ToJsonString ¶
func (r *AddUserToGroupRequest) ToJsonString() string
type AddUserToGroupResponse ¶
type AddUserToGroupResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewAddUserToGroupResponse ¶
func NewAddUserToGroupResponse() (response *AddUserToGroupResponse)
func (*AddUserToGroupResponse) FromJsonString ¶
func (r *AddUserToGroupResponse) FromJsonString(s string) error
func (*AddUserToGroupResponse) ToJsonString ¶
func (r *AddUserToGroupResponse) ToJsonString() string
type AttachEntityOfPolicy ¶
type AttachEntityOfPolicy struct {
	// 实体ID
	Id *string `json:"Id,omitempty" name:"Id"`
	// 实体名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	Name *string `json:"Name,omitempty" name:"Name"`
	// 实体Uin
	// 注意:此字段可能返回 null,表示取不到有效值。
	Uin *uint64 `json:"Uin,omitempty" name:"Uin"`
	// 关联类型。1 用户关联 ; 2 用户组关联
	RelatedType *uint64 `json:"RelatedType,omitempty" name:"RelatedType"`
}
    type AttachGroupPolicyRequest ¶
type AttachGroupPolicyRequest struct {
	*tchttp.BaseRequest
	// 策略 id
	PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
	// 用户组 id
	AttachGroupId *uint64 `json:"AttachGroupId,omitempty" name:"AttachGroupId"`
}
    func NewAttachGroupPolicyRequest ¶
func NewAttachGroupPolicyRequest() (request *AttachGroupPolicyRequest)
func (*AttachGroupPolicyRequest) FromJsonString ¶
func (r *AttachGroupPolicyRequest) FromJsonString(s string) error
func (*AttachGroupPolicyRequest) ToJsonString ¶
func (r *AttachGroupPolicyRequest) ToJsonString() string
type AttachGroupPolicyResponse ¶
type AttachGroupPolicyResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewAttachGroupPolicyResponse ¶
func NewAttachGroupPolicyResponse() (response *AttachGroupPolicyResponse)
func (*AttachGroupPolicyResponse) FromJsonString ¶
func (r *AttachGroupPolicyResponse) FromJsonString(s string) error
func (*AttachGroupPolicyResponse) ToJsonString ¶
func (r *AttachGroupPolicyResponse) ToJsonString() string
type AttachPolicyInfo ¶
type AttachPolicyInfo struct {
	// 策略id
	PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
	// 策略名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"`
	// 创建时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	AddTime *string `json:"AddTime,omitempty" name:"AddTime"`
	// 创建来源,1 通过控制台创建, 2 通过策略语法创建。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreateMode *uint64 `json:"CreateMode,omitempty" name:"CreateMode"`
	// 取值为user和QCS
	// 注意:此字段可能返回 null,表示取不到有效值。
	PolicyType *string `json:"PolicyType,omitempty" name:"PolicyType"`
	// 策略备注
	// 注意:此字段可能返回 null,表示取不到有效值。
	Remark *string `json:"Remark,omitempty" name:"Remark"`
	// 策略关联操作者主张号
	// 注意:此字段可能返回 null,表示取不到有效值。
	OperateOwnerUin *string `json:"OperateOwnerUin,omitempty" name:"OperateOwnerUin"`
	// 策略关联操作者ID,如果UinType为0表示子帐号Uin,如果UinType为1表示角色ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	OperateUin *string `json:"OperateUin,omitempty" name:"OperateUin"`
	// UinType为0表示OperateUin字段是子帐号Uin,如果UinType为1表示OperateUin字段是角色ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	OperateUinType *uint64 `json:"OperateUinType,omitempty" name:"OperateUinType"`
}
    type AttachRolePolicyRequest ¶
type AttachRolePolicyRequest struct {
	*tchttp.BaseRequest
	// 策略ID
	PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
	// 角色ID,用于指定角色,入参 AttachRoleId 与 AttachRoleName 二选一
	AttachRoleId *string `json:"AttachRoleId,omitempty" name:"AttachRoleId"`
	// 角色名称,用于指定角色,入参 AttachRoleId 与 AttachRoleName 二选一
	AttachRoleName *string `json:"AttachRoleName,omitempty" name:"AttachRoleName"`
}
    func NewAttachRolePolicyRequest ¶
func NewAttachRolePolicyRequest() (request *AttachRolePolicyRequest)
func (*AttachRolePolicyRequest) FromJsonString ¶
func (r *AttachRolePolicyRequest) FromJsonString(s string) error
func (*AttachRolePolicyRequest) ToJsonString ¶
func (r *AttachRolePolicyRequest) ToJsonString() string
type AttachRolePolicyResponse ¶
type AttachRolePolicyResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewAttachRolePolicyResponse ¶
func NewAttachRolePolicyResponse() (response *AttachRolePolicyResponse)
func (*AttachRolePolicyResponse) FromJsonString ¶
func (r *AttachRolePolicyResponse) FromJsonString(s string) error
func (*AttachRolePolicyResponse) ToJsonString ¶
func (r *AttachRolePolicyResponse) ToJsonString() string
type AttachUserPolicyRequest ¶
type AttachUserPolicyRequest struct {
	*tchttp.BaseRequest
	// 策略 id
	PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
	// 子账号 uin
	AttachUin *uint64 `json:"AttachUin,omitempty" name:"AttachUin"`
}
    func NewAttachUserPolicyRequest ¶
func NewAttachUserPolicyRequest() (request *AttachUserPolicyRequest)
func (*AttachUserPolicyRequest) FromJsonString ¶
func (r *AttachUserPolicyRequest) FromJsonString(s string) error
func (*AttachUserPolicyRequest) ToJsonString ¶
func (r *AttachUserPolicyRequest) ToJsonString() string
type AttachUserPolicyResponse ¶
type AttachUserPolicyResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewAttachUserPolicyResponse ¶
func NewAttachUserPolicyResponse() (response *AttachUserPolicyResponse)
func (*AttachUserPolicyResponse) FromJsonString ¶
func (r *AttachUserPolicyResponse) FromJsonString(s string) error
func (*AttachUserPolicyResponse) ToJsonString ¶
func (r *AttachUserPolicyResponse) ToJsonString() string
type AttachedPolicyOfRole ¶
type AttachedPolicyOfRole struct {
	// 策略ID
	PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
	// 策略名称
	PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"`
	// 绑定时间
	AddTime *string `json:"AddTime,omitempty" name:"AddTime"`
	// 策略类型,User表示自定义策略,QCS表示预设策略
	// 注意:此字段可能返回 null,表示取不到有效值。
	PolicyType *string `json:"PolicyType,omitempty" name:"PolicyType"`
	// 策略创建方式,1表示按产品功能或项目权限创建,其他表示按策略语法创建
	CreateMode *uint64 `json:"CreateMode,omitempty" name:"CreateMode"`
}
    type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AddUser ¶
func (c *Client) AddUser(request *AddUserRequest) (response *AddUserResponse, err error)
添加子用户
func (*Client) AddUserToGroup ¶
func (c *Client) AddUserToGroup(request *AddUserToGroupRequest) (response *AddUserToGroupResponse, err error)
用户加入到用户组
func (*Client) AttachGroupPolicy ¶
func (c *Client) AttachGroupPolicy(request *AttachGroupPolicyRequest) (response *AttachGroupPolicyResponse, err error)
本接口(AttachGroupPolicy)可用于绑定策略到用户组。
func (*Client) AttachRolePolicy ¶
func (c *Client) AttachRolePolicy(request *AttachRolePolicyRequest) (response *AttachRolePolicyResponse, err error)
本接口(AttachRolePolicy)用于绑定策略到角色。
func (*Client) AttachUserPolicy ¶
func (c *Client) AttachUserPolicy(request *AttachUserPolicyRequest) (response *AttachUserPolicyResponse, err error)
本接口(AttachUserPolicy)可用于绑定到用户的策略。
func (*Client) ConsumeCustomMFAToken ¶
func (c *Client) ConsumeCustomMFAToken(request *ConsumeCustomMFATokenRequest) (response *ConsumeCustomMFATokenResponse, err error)
验证自定义多因子Token
func (*Client) CreateGroup ¶
func (c *Client) CreateGroup(request *CreateGroupRequest) (response *CreateGroupResponse, err error)
创建用户组
func (*Client) CreatePolicy ¶
func (c *Client) CreatePolicy(request *CreatePolicyRequest) (response *CreatePolicyResponse, err error)
本接口(CreatePolicy)可用于创建策略。
func (*Client) CreateRole ¶
func (c *Client) CreateRole(request *CreateRoleRequest) (response *CreateRoleResponse, err error)
本接口(CreateRole)用于创建角色。
func (*Client) CreateSAMLProvider ¶
func (c *Client) CreateSAMLProvider(request *CreateSAMLProviderRequest) (response *CreateSAMLProviderResponse, err error)
创建SAML身份提供商
func (*Client) DeleteGroup ¶
func (c *Client) DeleteGroup(request *DeleteGroupRequest) (response *DeleteGroupResponse, err error)
删除用户组
func (*Client) DeletePolicy ¶
func (c *Client) DeletePolicy(request *DeletePolicyRequest) (response *DeletePolicyResponse, err error)
本接口(DeletePolicy)可用于删除策略。
func (*Client) DeleteRole ¶
func (c *Client) DeleteRole(request *DeleteRoleRequest) (response *DeleteRoleResponse, err error)
本接口(DeleteRole)用于删除指定角色。
func (*Client) DeleteSAMLProvider ¶
func (c *Client) DeleteSAMLProvider(request *DeleteSAMLProviderRequest) (response *DeleteSAMLProviderResponse, err error)
删除SAML身份提供商
func (*Client) DeleteUser ¶
func (c *Client) DeleteUser(request *DeleteUserRequest) (response *DeleteUserResponse, err error)
删除子用户
func (*Client) DescribeRoleList ¶
func (c *Client) DescribeRoleList(request *DescribeRoleListRequest) (response *DescribeRoleListResponse, err error)
本接口(DescribeRoleList)用于获取账号下的角色列表。
func (*Client) DetachGroupPolicy ¶
func (c *Client) DetachGroupPolicy(request *DetachGroupPolicyRequest) (response *DetachGroupPolicyResponse, err error)
本接口(DetachGroupPolicy)可用于解除绑定到用户组的策略。
func (*Client) DetachRolePolicy ¶
func (c *Client) DetachRolePolicy(request *DetachRolePolicyRequest) (response *DetachRolePolicyResponse, err error)
本接口(DetachRolePolicy)用于解除绑定角色的策略。
func (*Client) DetachUserPolicy ¶
func (c *Client) DetachUserPolicy(request *DetachUserPolicyRequest) (response *DetachUserPolicyResponse, err error)
本接口(DetachUserPolicy)可用于解除绑定到用户的策略。
func (*Client) GetCustomMFATokenInfo ¶
func (c *Client) GetCustomMFATokenInfo(request *GetCustomMFATokenInfoRequest) (response *GetCustomMFATokenInfoResponse, err error)
获取自定义多因子Token关联信息
func (*Client) GetGroup ¶
func (c *Client) GetGroup(request *GetGroupRequest) (response *GetGroupResponse, err error)
查询用户组详情
func (*Client) GetPolicy ¶
func (c *Client) GetPolicy(request *GetPolicyRequest) (response *GetPolicyResponse, err error)
本接口(GetPolicy)可用于查询查看策略详情。
func (*Client) GetRole ¶
func (c *Client) GetRole(request *GetRoleRequest) (response *GetRoleResponse, err error)
本接口(GetRole)用于获取指定角色的详细信息。
func (*Client) GetSAMLProvider ¶
func (c *Client) GetSAMLProvider(request *GetSAMLProviderRequest) (response *GetSAMLProviderResponse, err error)
查询SAML身份提供商详情
func (*Client) GetUser ¶
func (c *Client) GetUser(request *GetUserRequest) (response *GetUserResponse, err error)
查询子用户
func (*Client) ListAttachedGroupPolicies ¶
func (c *Client) ListAttachedGroupPolicies(request *ListAttachedGroupPoliciesRequest) (response *ListAttachedGroupPoliciesResponse, err error)
本接口(ListAttachedGroupPolicies)可用于查询用户组关联的策略列表。
func (*Client) ListAttachedRolePolicies ¶
func (c *Client) ListAttachedRolePolicies(request *ListAttachedRolePoliciesRequest) (response *ListAttachedRolePoliciesResponse, err error)
本接口(ListAttachedRolePolicies)用于获取角色绑定的策略列表。
func (*Client) ListAttachedUserPolicies ¶
func (c *Client) ListAttachedUserPolicies(request *ListAttachedUserPoliciesRequest) (response *ListAttachedUserPoliciesResponse, err error)
本接口(ListAttachedUserPolicies)可用于查询子账号关联的策略列表。
func (*Client) ListEntitiesForPolicy ¶
func (c *Client) ListEntitiesForPolicy(request *ListEntitiesForPolicyRequest) (response *ListEntitiesForPolicyResponse, err error)
本接口(ListEntitiesForPolicy)可用于查询策略关联的实体列表。
func (*Client) ListGroups ¶
func (c *Client) ListGroups(request *ListGroupsRequest) (response *ListGroupsResponse, err error)
查询用户组列表
func (*Client) ListGroupsForUser ¶
func (c *Client) ListGroupsForUser(request *ListGroupsForUserRequest) (response *ListGroupsForUserResponse, err error)
列出用户关联的用户组
func (*Client) ListPolicies ¶
func (c *Client) ListPolicies(request *ListPoliciesRequest) (response *ListPoliciesResponse, err error)
本接口(ListPolicies)可用于查询策略列表
func (*Client) ListSAMLProviders ¶
func (c *Client) ListSAMLProviders(request *ListSAMLProvidersRequest) (response *ListSAMLProvidersResponse, err error)
查询SAML身份提供商列表
func (*Client) ListUsers ¶
func (c *Client) ListUsers(request *ListUsersRequest) (response *ListUsersResponse, err error)
拉取子用户
func (*Client) ListUsersForGroup ¶
func (c *Client) ListUsersForGroup(request *ListUsersForGroupRequest) (response *ListUsersForGroupResponse, err error)
查询用户组关联的用户列表
func (*Client) RemoveUserFromGroup ¶
func (c *Client) RemoveUserFromGroup(request *RemoveUserFromGroupRequest) (response *RemoveUserFromGroupResponse, err error)
从用户组删除用户
func (*Client) SetFlag ¶
func (c *Client) SetFlag(request *SetFlagRequest) (response *SetFlagResponse, err error)
设置用户的登录,敏感操作,异步登录设置
func (*Client) UpdateAssumeRolePolicy ¶
func (c *Client) UpdateAssumeRolePolicy(request *UpdateAssumeRolePolicyRequest) (response *UpdateAssumeRolePolicyResponse, err error)
本接口(UpdateAssumeRolePolicy)用于修改角色信任策略的策略文档。
func (*Client) UpdateGroup ¶
func (c *Client) UpdateGroup(request *UpdateGroupRequest) (response *UpdateGroupResponse, err error)
更新用户组
func (*Client) UpdatePolicy ¶
func (c *Client) UpdatePolicy(request *UpdatePolicyRequest) (response *UpdatePolicyResponse, err error)
本接口(UpdatePolicy )可用于更新策略。
func (*Client) UpdateRoleDescription ¶
func (c *Client) UpdateRoleDescription(request *UpdateRoleDescriptionRequest) (response *UpdateRoleDescriptionResponse, err error)
本接口(UpdateRoleDescription)用于修改角色的描述信息。
func (*Client) UpdateSAMLProvider ¶
func (c *Client) UpdateSAMLProvider(request *UpdateSAMLProviderRequest) (response *UpdateSAMLProviderResponse, err error)
更新SAML身份提供商信息
func (*Client) UpdateUser ¶
func (c *Client) UpdateUser(request *UpdateUserRequest) (response *UpdateUserResponse, err error)
更新子用户
type ConsumeCustomMFATokenRequest ¶
type ConsumeCustomMFATokenRequest struct {
	*tchttp.BaseRequest
	// 自定义多因子验证Token
	MFAToken *string `json:"MFAToken,omitempty" name:"MFAToken"`
}
    func NewConsumeCustomMFATokenRequest ¶
func NewConsumeCustomMFATokenRequest() (request *ConsumeCustomMFATokenRequest)
func (*ConsumeCustomMFATokenRequest) FromJsonString ¶
func (r *ConsumeCustomMFATokenRequest) FromJsonString(s string) error
func (*ConsumeCustomMFATokenRequest) ToJsonString ¶
func (r *ConsumeCustomMFATokenRequest) ToJsonString() string
type ConsumeCustomMFATokenResponse ¶
type ConsumeCustomMFATokenResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewConsumeCustomMFATokenResponse ¶
func NewConsumeCustomMFATokenResponse() (response *ConsumeCustomMFATokenResponse)
func (*ConsumeCustomMFATokenResponse) FromJsonString ¶
func (r *ConsumeCustomMFATokenResponse) FromJsonString(s string) error
func (*ConsumeCustomMFATokenResponse) ToJsonString ¶
func (r *ConsumeCustomMFATokenResponse) ToJsonString() string
type CreateGroupRequest ¶
type CreateGroupRequest struct {
	*tchttp.BaseRequest
	// 用户组名
	GroupName *string `json:"GroupName,omitempty" name:"GroupName"`
	// 用户组描述
	Remark *string `json:"Remark,omitempty" name:"Remark"`
}
    func NewCreateGroupRequest ¶
func NewCreateGroupRequest() (request *CreateGroupRequest)
func (*CreateGroupRequest) FromJsonString ¶
func (r *CreateGroupRequest) FromJsonString(s string) error
func (*CreateGroupRequest) ToJsonString ¶
func (r *CreateGroupRequest) ToJsonString() string
type CreateGroupResponse ¶
type CreateGroupResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 用户组 ID
		GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"`
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewCreateGroupResponse ¶
func NewCreateGroupResponse() (response *CreateGroupResponse)
func (*CreateGroupResponse) FromJsonString ¶
func (r *CreateGroupResponse) FromJsonString(s string) error
func (*CreateGroupResponse) ToJsonString ¶
func (r *CreateGroupResponse) ToJsonString() string
type CreatePolicyRequest ¶
type CreatePolicyRequest struct {
	*tchttp.BaseRequest
	// 策略名
	PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"`
	// 策略文档
	PolicyDocument *string `json:"PolicyDocument,omitempty" name:"PolicyDocument"`
	// 策略描述
	Description *string `json:"Description,omitempty" name:"Description"`
}
    func NewCreatePolicyRequest ¶
func NewCreatePolicyRequest() (request *CreatePolicyRequest)
func (*CreatePolicyRequest) FromJsonString ¶
func (r *CreatePolicyRequest) FromJsonString(s string) error
func (*CreatePolicyRequest) ToJsonString ¶
func (r *CreatePolicyRequest) ToJsonString() string
type CreatePolicyResponse ¶
type CreatePolicyResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 新增策略id
		PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewCreatePolicyResponse ¶
func NewCreatePolicyResponse() (response *CreatePolicyResponse)
func (*CreatePolicyResponse) FromJsonString ¶
func (r *CreatePolicyResponse) FromJsonString(s string) error
func (*CreatePolicyResponse) ToJsonString ¶
func (r *CreatePolicyResponse) ToJsonString() string
type CreateRoleRequest ¶
type CreateRoleRequest struct {
	*tchttp.BaseRequest
	// 角色名称
	RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
	// 策略文档,示例:{"version":"2.0","statement":[{"action":"name/sts:AssumeRole","effect":"allow","principal":{"service":["cloudaudit.cloud.tencent.com","cls.cloud.tencent.com"]}}]},principal用于指定角色的授权对象。获取该参数可参阅 获取角色详情(https://cloud.tencent.com/document/product/598/36221) 输出参数RoleInfo
	PolicyDocument *string `json:"PolicyDocument,omitempty" name:"PolicyDocument"`
	// 角色描述
	Description *string `json:"Description,omitempty" name:"Description"`
	// 是否允许登录
	ConsoleLogin *uint64 `json:"ConsoleLogin,omitempty" name:"ConsoleLogin"`
}
    func NewCreateRoleRequest ¶
func NewCreateRoleRequest() (request *CreateRoleRequest)
func (*CreateRoleRequest) FromJsonString ¶
func (r *CreateRoleRequest) FromJsonString(s string) error
func (*CreateRoleRequest) ToJsonString ¶
func (r *CreateRoleRequest) ToJsonString() string
type CreateRoleResponse ¶
type CreateRoleResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 角色ID
		// 注意:此字段可能返回 null,表示取不到有效值。
		RoleId *string `json:"RoleId,omitempty" name:"RoleId"`
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewCreateRoleResponse ¶
func NewCreateRoleResponse() (response *CreateRoleResponse)
func (*CreateRoleResponse) FromJsonString ¶
func (r *CreateRoleResponse) FromJsonString(s string) error
func (*CreateRoleResponse) ToJsonString ¶
func (r *CreateRoleResponse) ToJsonString() string
type CreateSAMLProviderRequest ¶
type CreateSAMLProviderRequest struct {
	*tchttp.BaseRequest
	// SAML身份提供商名称
	Name *string `json:"Name,omitempty" name:"Name"`
	// SAML身份提供商描述
	Description *string `json:"Description,omitempty" name:"Description"`
	// SAML身份提供商Base64编码的元数据文档
	SAMLMetadataDocument *string `json:"SAMLMetadataDocument,omitempty" name:"SAMLMetadataDocument"`
}
    func NewCreateSAMLProviderRequest ¶
func NewCreateSAMLProviderRequest() (request *CreateSAMLProviderRequest)
func (*CreateSAMLProviderRequest) FromJsonString ¶
func (r *CreateSAMLProviderRequest) FromJsonString(s string) error
func (*CreateSAMLProviderRequest) ToJsonString ¶
func (r *CreateSAMLProviderRequest) ToJsonString() string
type CreateSAMLProviderResponse ¶
type CreateSAMLProviderResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// SAML身份提供商资源描述符
		ProviderArn *string `json:"ProviderArn,omitempty" name:"ProviderArn"`
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewCreateSAMLProviderResponse ¶
func NewCreateSAMLProviderResponse() (response *CreateSAMLProviderResponse)
func (*CreateSAMLProviderResponse) FromJsonString ¶
func (r *CreateSAMLProviderResponse) FromJsonString(s string) error
func (*CreateSAMLProviderResponse) ToJsonString ¶
func (r *CreateSAMLProviderResponse) ToJsonString() string
type DeleteGroupRequest ¶
type DeleteGroupRequest struct {
	*tchttp.BaseRequest
	// 用户组 ID
	GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"`
}
    func NewDeleteGroupRequest ¶
func NewDeleteGroupRequest() (request *DeleteGroupRequest)
func (*DeleteGroupRequest) FromJsonString ¶
func (r *DeleteGroupRequest) FromJsonString(s string) error
func (*DeleteGroupRequest) ToJsonString ¶
func (r *DeleteGroupRequest) ToJsonString() string
type DeleteGroupResponse ¶
type DeleteGroupResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewDeleteGroupResponse ¶
func NewDeleteGroupResponse() (response *DeleteGroupResponse)
func (*DeleteGroupResponse) FromJsonString ¶
func (r *DeleteGroupResponse) FromJsonString(s string) error
func (*DeleteGroupResponse) ToJsonString ¶
func (r *DeleteGroupResponse) ToJsonString() string
type DeletePolicyRequest ¶
type DeletePolicyRequest struct {
	*tchttp.BaseRequest
	// 数组,数组成员是策略 id,支持批量删除策略
	PolicyId []*uint64 `json:"PolicyId,omitempty" name:"PolicyId" list`
}
    func NewDeletePolicyRequest ¶
func NewDeletePolicyRequest() (request *DeletePolicyRequest)
func (*DeletePolicyRequest) FromJsonString ¶
func (r *DeletePolicyRequest) FromJsonString(s string) error
func (*DeletePolicyRequest) ToJsonString ¶
func (r *DeletePolicyRequest) ToJsonString() string
type DeletePolicyResponse ¶
type DeletePolicyResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewDeletePolicyResponse ¶
func NewDeletePolicyResponse() (response *DeletePolicyResponse)
func (*DeletePolicyResponse) FromJsonString ¶
func (r *DeletePolicyResponse) FromJsonString(s string) error
func (*DeletePolicyResponse) ToJsonString ¶
func (r *DeletePolicyResponse) ToJsonString() string
type DeleteRoleRequest ¶
type DeleteRoleRequest struct {
	*tchttp.BaseRequest
	// 角色ID,用于指定角色,入参 RoleId 与 RoleName 二选一
	RoleId *string `json:"RoleId,omitempty" name:"RoleId"`
	// 角色名称,用于指定角色,入参 RoleId 与 RoleName 二选一
	RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
}
    func NewDeleteRoleRequest ¶
func NewDeleteRoleRequest() (request *DeleteRoleRequest)
func (*DeleteRoleRequest) FromJsonString ¶
func (r *DeleteRoleRequest) FromJsonString(s string) error
func (*DeleteRoleRequest) ToJsonString ¶
func (r *DeleteRoleRequest) ToJsonString() string
type DeleteRoleResponse ¶
type DeleteRoleResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewDeleteRoleResponse ¶
func NewDeleteRoleResponse() (response *DeleteRoleResponse)
func (*DeleteRoleResponse) FromJsonString ¶
func (r *DeleteRoleResponse) FromJsonString(s string) error
func (*DeleteRoleResponse) ToJsonString ¶
func (r *DeleteRoleResponse) ToJsonString() string
type DeleteSAMLProviderRequest ¶
type DeleteSAMLProviderRequest struct {
	*tchttp.BaseRequest
	// SAML身份提供商名称
	Name *string `json:"Name,omitempty" name:"Name"`
}
    func NewDeleteSAMLProviderRequest ¶
func NewDeleteSAMLProviderRequest() (request *DeleteSAMLProviderRequest)
func (*DeleteSAMLProviderRequest) FromJsonString ¶
func (r *DeleteSAMLProviderRequest) FromJsonString(s string) error
func (*DeleteSAMLProviderRequest) ToJsonString ¶
func (r *DeleteSAMLProviderRequest) ToJsonString() string
type DeleteSAMLProviderResponse ¶
type DeleteSAMLProviderResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewDeleteSAMLProviderResponse ¶
func NewDeleteSAMLProviderResponse() (response *DeleteSAMLProviderResponse)
func (*DeleteSAMLProviderResponse) FromJsonString ¶
func (r *DeleteSAMLProviderResponse) FromJsonString(s string) error
func (*DeleteSAMLProviderResponse) ToJsonString ¶
func (r *DeleteSAMLProviderResponse) ToJsonString() string
type DeleteUserRequest ¶
type DeleteUserRequest struct {
	*tchttp.BaseRequest
	// 子用户用户名
	Name *string `json:"Name,omitempty" name:"Name"`
}
    func NewDeleteUserRequest ¶
func NewDeleteUserRequest() (request *DeleteUserRequest)
func (*DeleteUserRequest) FromJsonString ¶
func (r *DeleteUserRequest) FromJsonString(s string) error
func (*DeleteUserRequest) ToJsonString ¶
func (r *DeleteUserRequest) ToJsonString() string
type DeleteUserResponse ¶
type DeleteUserResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewDeleteUserResponse ¶
func NewDeleteUserResponse() (response *DeleteUserResponse)
func (*DeleteUserResponse) FromJsonString ¶
func (r *DeleteUserResponse) FromJsonString(s string) error
func (*DeleteUserResponse) ToJsonString ¶
func (r *DeleteUserResponse) ToJsonString() string
type DescribeRoleListRequest ¶
type DescribeRoleListRequest struct {
	*tchttp.BaseRequest
	// 页码,从1开始
	Page *uint64 `json:"Page,omitempty" name:"Page"`
	// 每页行数,不能大于200
	Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
}
    func NewDescribeRoleListRequest ¶
func NewDescribeRoleListRequest() (request *DescribeRoleListRequest)
func (*DescribeRoleListRequest) FromJsonString ¶
func (r *DescribeRoleListRequest) FromJsonString(s string) error
func (*DescribeRoleListRequest) ToJsonString ¶
func (r *DescribeRoleListRequest) ToJsonString() string
type DescribeRoleListResponse ¶
type DescribeRoleListResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 角色详情列表。
		// 注意:此字段可能返回 null,表示取不到有效值。
		List []*RoleInfo `json:"List,omitempty" name:"List" list`
		// 角色总数
		TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewDescribeRoleListResponse ¶
func NewDescribeRoleListResponse() (response *DescribeRoleListResponse)
func (*DescribeRoleListResponse) FromJsonString ¶
func (r *DescribeRoleListResponse) FromJsonString(s string) error
func (*DescribeRoleListResponse) ToJsonString ¶
func (r *DescribeRoleListResponse) ToJsonString() string
type DetachGroupPolicyRequest ¶
type DetachGroupPolicyRequest struct {
	*tchttp.BaseRequest
	// 策略 id
	PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
	// 用户组 id
	DetachGroupId *uint64 `json:"DetachGroupId,omitempty" name:"DetachGroupId"`
}
    func NewDetachGroupPolicyRequest ¶
func NewDetachGroupPolicyRequest() (request *DetachGroupPolicyRequest)
func (*DetachGroupPolicyRequest) FromJsonString ¶
func (r *DetachGroupPolicyRequest) FromJsonString(s string) error
func (*DetachGroupPolicyRequest) ToJsonString ¶
func (r *DetachGroupPolicyRequest) ToJsonString() string
type DetachGroupPolicyResponse ¶
type DetachGroupPolicyResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewDetachGroupPolicyResponse ¶
func NewDetachGroupPolicyResponse() (response *DetachGroupPolicyResponse)
func (*DetachGroupPolicyResponse) FromJsonString ¶
func (r *DetachGroupPolicyResponse) FromJsonString(s string) error
func (*DetachGroupPolicyResponse) ToJsonString ¶
func (r *DetachGroupPolicyResponse) ToJsonString() string
type DetachRolePolicyRequest ¶
type DetachRolePolicyRequest struct {
	*tchttp.BaseRequest
	// 策略ID
	PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
	// 角色ID,用于指定角色,入参 AttachRoleId 与 AttachRoleName 二选一
	DetachRoleId *string `json:"DetachRoleId,omitempty" name:"DetachRoleId"`
	// 角色名称,用于指定角色,入参 AttachRoleId 与 AttachRoleName 二选一
	DetachRoleName *string `json:"DetachRoleName,omitempty" name:"DetachRoleName"`
}
    func NewDetachRolePolicyRequest ¶
func NewDetachRolePolicyRequest() (request *DetachRolePolicyRequest)
func (*DetachRolePolicyRequest) FromJsonString ¶
func (r *DetachRolePolicyRequest) FromJsonString(s string) error
func (*DetachRolePolicyRequest) ToJsonString ¶
func (r *DetachRolePolicyRequest) ToJsonString() string
type DetachRolePolicyResponse ¶
type DetachRolePolicyResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewDetachRolePolicyResponse ¶
func NewDetachRolePolicyResponse() (response *DetachRolePolicyResponse)
func (*DetachRolePolicyResponse) FromJsonString ¶
func (r *DetachRolePolicyResponse) FromJsonString(s string) error
func (*DetachRolePolicyResponse) ToJsonString ¶
func (r *DetachRolePolicyResponse) ToJsonString() string
type DetachUserPolicyRequest ¶
type DetachUserPolicyRequest struct {
	*tchttp.BaseRequest
	// 策略 id
	PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
	// 子账号 uin
	DetachUin *uint64 `json:"DetachUin,omitempty" name:"DetachUin"`
}
    func NewDetachUserPolicyRequest ¶
func NewDetachUserPolicyRequest() (request *DetachUserPolicyRequest)
func (*DetachUserPolicyRequest) FromJsonString ¶
func (r *DetachUserPolicyRequest) FromJsonString(s string) error
func (*DetachUserPolicyRequest) ToJsonString ¶
func (r *DetachUserPolicyRequest) ToJsonString() string
type DetachUserPolicyResponse ¶
type DetachUserPolicyResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewDetachUserPolicyResponse ¶
func NewDetachUserPolicyResponse() (response *DetachUserPolicyResponse)
func (*DetachUserPolicyResponse) FromJsonString ¶
func (r *DetachUserPolicyResponse) FromJsonString(s string) error
func (*DetachUserPolicyResponse) ToJsonString ¶
func (r *DetachUserPolicyResponse) ToJsonString() string
type GetCustomMFATokenInfoRequest ¶
type GetCustomMFATokenInfoRequest struct {
	*tchttp.BaseRequest
	// 自定义多因子验证Token
	MFAToken *string `json:"MFAToken,omitempty" name:"MFAToken"`
}
    func NewGetCustomMFATokenInfoRequest ¶
func NewGetCustomMFATokenInfoRequest() (request *GetCustomMFATokenInfoRequest)
func (*GetCustomMFATokenInfoRequest) FromJsonString ¶
func (r *GetCustomMFATokenInfoRequest) FromJsonString(s string) error
func (*GetCustomMFATokenInfoRequest) ToJsonString ¶
func (r *GetCustomMFATokenInfoRequest) ToJsonString() string
type GetCustomMFATokenInfoResponse ¶
type GetCustomMFATokenInfoResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 自定义多因子验证Token对应的帐号Id
		Uin *uint64 `json:"Uin,omitempty" name:"Uin"`
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewGetCustomMFATokenInfoResponse ¶
func NewGetCustomMFATokenInfoResponse() (response *GetCustomMFATokenInfoResponse)
func (*GetCustomMFATokenInfoResponse) FromJsonString ¶
func (r *GetCustomMFATokenInfoResponse) FromJsonString(s string) error
func (*GetCustomMFATokenInfoResponse) ToJsonString ¶
func (r *GetCustomMFATokenInfoResponse) ToJsonString() string
type GetGroupRequest ¶
type GetGroupRequest struct {
	*tchttp.BaseRequest
	// 用户组 ID
	GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"`
}
    func NewGetGroupRequest ¶
func NewGetGroupRequest() (request *GetGroupRequest)
func (*GetGroupRequest) FromJsonString ¶
func (r *GetGroupRequest) FromJsonString(s string) error
func (*GetGroupRequest) ToJsonString ¶
func (r *GetGroupRequest) ToJsonString() string
type GetGroupResponse ¶
type GetGroupResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 用户组 ID
		GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"`
		// 用户组名称
		GroupName *string `json:"GroupName,omitempty" name:"GroupName"`
		// 用户组成员数量
		GroupNum *uint64 `json:"GroupNum,omitempty" name:"GroupNum"`
		// 用户组描述
		Remark *string `json:"Remark,omitempty" name:"Remark"`
		// 用户组创建时间
		CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
		// 用户组成员信息
		UserInfo []*GroupMemberInfo `json:"UserInfo,omitempty" name:"UserInfo" list`
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewGetGroupResponse ¶
func NewGetGroupResponse() (response *GetGroupResponse)
func (*GetGroupResponse) FromJsonString ¶
func (r *GetGroupResponse) FromJsonString(s string) error
func (*GetGroupResponse) ToJsonString ¶
func (r *GetGroupResponse) ToJsonString() string
type GetPolicyRequest ¶
type GetPolicyRequest struct {
	*tchttp.BaseRequest
	// 策略Id
	PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
}
    func NewGetPolicyRequest ¶
func NewGetPolicyRequest() (request *GetPolicyRequest)
func (*GetPolicyRequest) FromJsonString ¶
func (r *GetPolicyRequest) FromJsonString(s string) error
func (*GetPolicyRequest) ToJsonString ¶
func (r *GetPolicyRequest) ToJsonString() string
type GetPolicyResponse ¶
type GetPolicyResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 策略名
		// 注意:此字段可能返回 null,表示取不到有效值。
		PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"`
		// 策略描述
		// 注意:此字段可能返回 null,表示取不到有效值。
		Description *string `json:"Description,omitempty" name:"Description"`
		// 1 表示自定义策略,2 表示预设策略
		// 注意:此字段可能返回 null,表示取不到有效值。
		Type *uint64 `json:"Type,omitempty" name:"Type"`
		// 创建时间
		// 注意:此字段可能返回 null,表示取不到有效值。
		AddTime *string `json:"AddTime,omitempty" name:"AddTime"`
		// 最近更新时间
		// 注意:此字段可能返回 null,表示取不到有效值。
		UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
		// 策略文档
		// 注意:此字段可能返回 null,表示取不到有效值。
		PolicyDocument *string `json:"PolicyDocument,omitempty" name:"PolicyDocument"`
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewGetPolicyResponse ¶
func NewGetPolicyResponse() (response *GetPolicyResponse)
func (*GetPolicyResponse) FromJsonString ¶
func (r *GetPolicyResponse) FromJsonString(s string) error
func (*GetPolicyResponse) ToJsonString ¶
func (r *GetPolicyResponse) ToJsonString() string
type GetRoleRequest ¶
type GetRoleRequest struct {
	*tchttp.BaseRequest
	// 角色 ID,用于指定角色,入参 RoleId 与 RoleName 二选一
	RoleId *string `json:"RoleId,omitempty" name:"RoleId"`
	// 角色名,用于指定角色,入参 RoleId 与 RoleName 二选一
	RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
}
    func NewGetRoleRequest ¶
func NewGetRoleRequest() (request *GetRoleRequest)
func (*GetRoleRequest) FromJsonString ¶
func (r *GetRoleRequest) FromJsonString(s string) error
func (*GetRoleRequest) ToJsonString ¶
func (r *GetRoleRequest) ToJsonString() string
type GetRoleResponse ¶
type GetRoleResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 角色详情
		RoleInfo *RoleInfo `json:"RoleInfo,omitempty" name:"RoleInfo"`
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewGetRoleResponse ¶
func NewGetRoleResponse() (response *GetRoleResponse)
func (*GetRoleResponse) FromJsonString ¶
func (r *GetRoleResponse) FromJsonString(s string) error
func (*GetRoleResponse) ToJsonString ¶
func (r *GetRoleResponse) ToJsonString() string
type GetSAMLProviderRequest ¶
type GetSAMLProviderRequest struct {
	*tchttp.BaseRequest
	// SAML身份提供商名称
	Name *string `json:"Name,omitempty" name:"Name"`
}
    func NewGetSAMLProviderRequest ¶
func NewGetSAMLProviderRequest() (request *GetSAMLProviderRequest)
func (*GetSAMLProviderRequest) FromJsonString ¶
func (r *GetSAMLProviderRequest) FromJsonString(s string) error
func (*GetSAMLProviderRequest) ToJsonString ¶
func (r *GetSAMLProviderRequest) ToJsonString() string
type GetSAMLProviderResponse ¶
type GetSAMLProviderResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// SAML身份提供商名称
		Name *string `json:"Name,omitempty" name:"Name"`
		// SAML身份提供商描述
		Description *string `json:"Description,omitempty" name:"Description"`
		// SAML身份提供商创建时间
		CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
		// SAML身份提供商上次修改时间
		ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`
		// SAML身份提供商元数据文档
		SAMLMetadata *string `json:"SAMLMetadata,omitempty" name:"SAMLMetadata"`
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewGetSAMLProviderResponse ¶
func NewGetSAMLProviderResponse() (response *GetSAMLProviderResponse)
func (*GetSAMLProviderResponse) FromJsonString ¶
func (r *GetSAMLProviderResponse) FromJsonString(s string) error
func (*GetSAMLProviderResponse) ToJsonString ¶
func (r *GetSAMLProviderResponse) ToJsonString() string
type GetUserRequest ¶
type GetUserRequest struct {
	*tchttp.BaseRequest
	// 子用户用户名
	Name *string `json:"Name,omitempty" name:"Name"`
}
    func NewGetUserRequest ¶
func NewGetUserRequest() (request *GetUserRequest)
func (*GetUserRequest) FromJsonString ¶
func (r *GetUserRequest) FromJsonString(s string) error
func (*GetUserRequest) ToJsonString ¶
func (r *GetUserRequest) ToJsonString() string
type GetUserResponse ¶
type GetUserResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 子用户用户 ID
		Uin *uint64 `json:"Uin,omitempty" name:"Uin"`
		// 子用户用户名
		Name *string `json:"Name,omitempty" name:"Name"`
		// 子用户 UID
		Uid *uint64 `json:"Uid,omitempty" name:"Uid"`
		// 子用户备注
		Remark *string `json:"Remark,omitempty" name:"Remark"`
		// 子用户能否登录控制台
		ConsoleLogin *uint64 `json:"ConsoleLogin,omitempty" name:"ConsoleLogin"`
		// 手机号
		PhoneNum *string `json:"PhoneNum,omitempty" name:"PhoneNum"`
		// 区号
		CountryCode *string `json:"CountryCode,omitempty" name:"CountryCode"`
		// 邮箱
		Email *string `json:"Email,omitempty" name:"Email"`
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewGetUserResponse ¶
func NewGetUserResponse() (response *GetUserResponse)
func (*GetUserResponse) FromJsonString ¶
func (r *GetUserResponse) FromJsonString(s string) error
func (*GetUserResponse) ToJsonString ¶
func (r *GetUserResponse) ToJsonString() string
type GroupIdOfUidInfo ¶
type GroupInfo ¶
type GroupInfo struct {
	// 用户组 ID。
	GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"`
	// 用户组名称。
	GroupName *string `json:"GroupName,omitempty" name:"GroupName"`
	// 用户组创建时间。
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
	// 用户组描述。
	Remark *string `json:"Remark,omitempty" name:"Remark"`
}
    type GroupMemberInfo ¶
type GroupMemberInfo struct {
	// 子用户 Uid。
	Uid *uint64 `json:"Uid,omitempty" name:"Uid"`
	// 子用户 Uin。
	Uin *uint64 `json:"Uin,omitempty" name:"Uin"`
	// 子用户名称。
	Name *string `json:"Name,omitempty" name:"Name"`
	// 手机号。
	PhoneNum *string `json:"PhoneNum,omitempty" name:"PhoneNum"`
	// 手机区域代码。
	CountryCode *string `json:"CountryCode,omitempty" name:"CountryCode"`
	// 是否已验证手机。
	PhoneFlag *uint64 `json:"PhoneFlag,omitempty" name:"PhoneFlag"`
	// 邮箱地址。
	Email *string `json:"Email,omitempty" name:"Email"`
	// 是否已验证邮箱。
	EmailFlag *uint64 `json:"EmailFlag,omitempty" name:"EmailFlag"`
	// 用户类型。
	UserType *uint64 `json:"UserType,omitempty" name:"UserType"`
	// 创建时间。
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
	// 是否为主消息接收人。
	IsReceiverOwner *uint64 `json:"IsReceiverOwner,omitempty" name:"IsReceiverOwner"`
}
    type ListAttachedGroupPoliciesRequest ¶
type ListAttachedGroupPoliciesRequest struct {
	*tchttp.BaseRequest
	// 用户组 id
	TargetGroupId *uint64 `json:"TargetGroupId,omitempty" name:"TargetGroupId"`
	// 页码,默认值是 1,从 1 开始
	Page *uint64 `json:"Page,omitempty" name:"Page"`
	// 每页大小,默认值是 20
	Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
}
    func NewListAttachedGroupPoliciesRequest ¶
func NewListAttachedGroupPoliciesRequest() (request *ListAttachedGroupPoliciesRequest)
func (*ListAttachedGroupPoliciesRequest) FromJsonString ¶
func (r *ListAttachedGroupPoliciesRequest) FromJsonString(s string) error
func (*ListAttachedGroupPoliciesRequest) ToJsonString ¶
func (r *ListAttachedGroupPoliciesRequest) ToJsonString() string
type ListAttachedGroupPoliciesResponse ¶
type ListAttachedGroupPoliciesResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 策略总数
		TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
		// 策略列表
		List []*AttachPolicyInfo `json:"List,omitempty" name:"List" list`
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewListAttachedGroupPoliciesResponse ¶
func NewListAttachedGroupPoliciesResponse() (response *ListAttachedGroupPoliciesResponse)
func (*ListAttachedGroupPoliciesResponse) FromJsonString ¶
func (r *ListAttachedGroupPoliciesResponse) FromJsonString(s string) error
func (*ListAttachedGroupPoliciesResponse) ToJsonString ¶
func (r *ListAttachedGroupPoliciesResponse) ToJsonString() string
type ListAttachedRolePoliciesRequest ¶
type ListAttachedRolePoliciesRequest struct {
	*tchttp.BaseRequest
	// 页码,从 1 开始
	Page *uint64 `json:"Page,omitempty" name:"Page"`
	// 每页行数,不能大于200
	Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
	// 角色 ID。用于指定角色,入参 RoleId 与 RoleName 二选一
	RoleId *string `json:"RoleId,omitempty" name:"RoleId"`
	// 角色名。用于指定角色,入参 RoleId 与 RoleName 二选一
	RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
	// 按策略类型过滤,User表示仅查询自定义策略,QCS表示仅查询预设策略
	PolicyType *string `json:"PolicyType,omitempty" name:"PolicyType"`
}
    func NewListAttachedRolePoliciesRequest ¶
func NewListAttachedRolePoliciesRequest() (request *ListAttachedRolePoliciesRequest)
func (*ListAttachedRolePoliciesRequest) FromJsonString ¶
func (r *ListAttachedRolePoliciesRequest) FromJsonString(s string) error
func (*ListAttachedRolePoliciesRequest) ToJsonString ¶
func (r *ListAttachedRolePoliciesRequest) ToJsonString() string
type ListAttachedRolePoliciesResponse ¶
type ListAttachedRolePoliciesResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 角色关联的策略列表
		List []*AttachedPolicyOfRole `json:"List,omitempty" name:"List" list`
		// 角色关联的策略总数
		TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewListAttachedRolePoliciesResponse ¶
func NewListAttachedRolePoliciesResponse() (response *ListAttachedRolePoliciesResponse)
func (*ListAttachedRolePoliciesResponse) FromJsonString ¶
func (r *ListAttachedRolePoliciesResponse) FromJsonString(s string) error
func (*ListAttachedRolePoliciesResponse) ToJsonString ¶
func (r *ListAttachedRolePoliciesResponse) ToJsonString() string
type ListAttachedUserPoliciesRequest ¶
type ListAttachedUserPoliciesRequest struct {
	*tchttp.BaseRequest
	// 子账号 uin
	TargetUin *uint64 `json:"TargetUin,omitempty" name:"TargetUin"`
	// 页码,默认值是 1,从 1 开始
	Page *uint64 `json:"Page,omitempty" name:"Page"`
	// 每页大小,默认值是 20
	Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
}
    func NewListAttachedUserPoliciesRequest ¶
func NewListAttachedUserPoliciesRequest() (request *ListAttachedUserPoliciesRequest)
func (*ListAttachedUserPoliciesRequest) FromJsonString ¶
func (r *ListAttachedUserPoliciesRequest) FromJsonString(s string) error
func (*ListAttachedUserPoliciesRequest) ToJsonString ¶
func (r *ListAttachedUserPoliciesRequest) ToJsonString() string
type ListAttachedUserPoliciesResponse ¶
type ListAttachedUserPoliciesResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 策略总数
		TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
		// 策略列表
		List []*AttachPolicyInfo `json:"List,omitempty" name:"List" list`
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewListAttachedUserPoliciesResponse ¶
func NewListAttachedUserPoliciesResponse() (response *ListAttachedUserPoliciesResponse)
func (*ListAttachedUserPoliciesResponse) FromJsonString ¶
func (r *ListAttachedUserPoliciesResponse) FromJsonString(s string) error
func (*ListAttachedUserPoliciesResponse) ToJsonString ¶
func (r *ListAttachedUserPoliciesResponse) ToJsonString() string
type ListEntitiesForPolicyRequest ¶
type ListEntitiesForPolicyRequest struct {
	*tchttp.BaseRequest
	// 策略 id
	PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
	// 页码,默认值是 1,从 1 开始
	Page *uint64 `json:"Page,omitempty" name:"Page"`
	// 每页大小,默认值是 20
	Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
	// 可取值 'All'、'User'、'Group' 和 'Role','All' 表示获取所有实体类型,'User' 表示只获取子账号,'Group' 表示只获取用户组,'Role' 表示只获取角色,默认取 'All'
	EntityFilter *string `json:"EntityFilter,omitempty" name:"EntityFilter"`
}
    func NewListEntitiesForPolicyRequest ¶
func NewListEntitiesForPolicyRequest() (request *ListEntitiesForPolicyRequest)
func (*ListEntitiesForPolicyRequest) FromJsonString ¶
func (r *ListEntitiesForPolicyRequest) FromJsonString(s string) error
func (*ListEntitiesForPolicyRequest) ToJsonString ¶
func (r *ListEntitiesForPolicyRequest) ToJsonString() string
type ListEntitiesForPolicyResponse ¶
type ListEntitiesForPolicyResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 实体总数
		// 注意:此字段可能返回 null,表示取不到有效值。
		TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
		// 实体列表
		// 注意:此字段可能返回 null,表示取不到有效值。
		List []*AttachEntityOfPolicy `json:"List,omitempty" name:"List" list`
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewListEntitiesForPolicyResponse ¶
func NewListEntitiesForPolicyResponse() (response *ListEntitiesForPolicyResponse)
func (*ListEntitiesForPolicyResponse) FromJsonString ¶
func (r *ListEntitiesForPolicyResponse) FromJsonString(s string) error
func (*ListEntitiesForPolicyResponse) ToJsonString ¶
func (r *ListEntitiesForPolicyResponse) ToJsonString() string
type ListGroupsForUserRequest ¶
type ListGroupsForUserRequest struct {
	*tchttp.BaseRequest
	// 子用户 UID
	Uid *uint64 `json:"Uid,omitempty" name:"Uid"`
	// 每页数量。默认为20。
	Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
	// 页码。默认为1。
	Page *uint64 `json:"Page,omitempty" name:"Page"`
}
    func NewListGroupsForUserRequest ¶
func NewListGroupsForUserRequest() (request *ListGroupsForUserRequest)
func (*ListGroupsForUserRequest) FromJsonString ¶
func (r *ListGroupsForUserRequest) FromJsonString(s string) error
func (*ListGroupsForUserRequest) ToJsonString ¶
func (r *ListGroupsForUserRequest) ToJsonString() string
type ListGroupsForUserResponse ¶
type ListGroupsForUserResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 子用户加入的用户组总数
		TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
		// 用户组信息
		GroupInfo []*GroupInfo `json:"GroupInfo,omitempty" name:"GroupInfo" list`
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewListGroupsForUserResponse ¶
func NewListGroupsForUserResponse() (response *ListGroupsForUserResponse)
func (*ListGroupsForUserResponse) FromJsonString ¶
func (r *ListGroupsForUserResponse) FromJsonString(s string) error
func (*ListGroupsForUserResponse) ToJsonString ¶
func (r *ListGroupsForUserResponse) ToJsonString() string
type ListGroupsRequest ¶
type ListGroupsRequest struct {
	*tchttp.BaseRequest
	// 页码。默认为1。
	Page *uint64 `json:"Page,omitempty" name:"Page"`
	// 每页数量。默认为20。
	Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
	// 按用户组名称匹配。
	Keyword *string `json:"Keyword,omitempty" name:"Keyword"`
}
    func NewListGroupsRequest ¶
func NewListGroupsRequest() (request *ListGroupsRequest)
func (*ListGroupsRequest) FromJsonString ¶
func (r *ListGroupsRequest) FromJsonString(s string) error
func (*ListGroupsRequest) ToJsonString ¶
func (r *ListGroupsRequest) ToJsonString() string
type ListGroupsResponse ¶
type ListGroupsResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 用户组总数。
		TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
		// 用户组数组信息。
		GroupInfo []*GroupInfo `json:"GroupInfo,omitempty" name:"GroupInfo" list`
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewListGroupsResponse ¶
func NewListGroupsResponse() (response *ListGroupsResponse)
func (*ListGroupsResponse) FromJsonString ¶
func (r *ListGroupsResponse) FromJsonString(s string) error
func (*ListGroupsResponse) ToJsonString ¶
func (r *ListGroupsResponse) ToJsonString() string
type ListPoliciesRequest ¶
type ListPoliciesRequest struct {
	*tchttp.BaseRequest
	// 每页数量,默认值是 20,必须大于 0 且小于或等于 200
	Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
	// 页码,默认值是 1,从 1开始,不能大于 200
	Page *uint64 `json:"Page,omitempty" name:"Page"`
	// 可取值 'All'、'QCS' 和 'Local','All' 获取所有策略,'QCS' 只获取预设策略,'Local' 只获取自定义策略,默认取 'All'
	Scope *string `json:"Scope,omitempty" name:"Scope"`
	// 按策略名匹配
	Keyword *string `json:"Keyword,omitempty" name:"Keyword"`
}
    func NewListPoliciesRequest ¶
func NewListPoliciesRequest() (request *ListPoliciesRequest)
func (*ListPoliciesRequest) FromJsonString ¶
func (r *ListPoliciesRequest) FromJsonString(s string) error
func (*ListPoliciesRequest) ToJsonString ¶
func (r *ListPoliciesRequest) ToJsonString() string
type ListPoliciesResponse ¶
type ListPoliciesResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 策略总数
		TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
		// 策略数组,数组每个成员包括 policyId、policyName、addTime、type、description、 createMode 字段。其中:
		// policyId:策略 id
		// policyName:策略名
		// addTime:策略创建时间
		// type:1 表示自定义策略,2 表示预设策略
		// description:策略描述
		// createMode:1 表示按业务权限创建的策略,其他值表示可以查看策略语法和通过策略语法更新策略
		List []*StrategyInfo `json:"List,omitempty" name:"List" list`
		// 保留字段
		// 注意:此字段可能返回 null,表示取不到有效值。
		ServiceTypeList []*string `json:"ServiceTypeList,omitempty" name:"ServiceTypeList" list`
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewListPoliciesResponse ¶
func NewListPoliciesResponse() (response *ListPoliciesResponse)
func (*ListPoliciesResponse) FromJsonString ¶
func (r *ListPoliciesResponse) FromJsonString(s string) error
func (*ListPoliciesResponse) ToJsonString ¶
func (r *ListPoliciesResponse) ToJsonString() string
type ListSAMLProvidersRequest ¶
type ListSAMLProvidersRequest struct {
	*tchttp.BaseRequest
}
    func NewListSAMLProvidersRequest ¶
func NewListSAMLProvidersRequest() (request *ListSAMLProvidersRequest)
func (*ListSAMLProvidersRequest) FromJsonString ¶
func (r *ListSAMLProvidersRequest) FromJsonString(s string) error
func (*ListSAMLProvidersRequest) ToJsonString ¶
func (r *ListSAMLProvidersRequest) ToJsonString() string
type ListSAMLProvidersResponse ¶
type ListSAMLProvidersResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// SAML身份提供商总数
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
		// SAML身份提供商列表
		SAMLProviderSet []*SAMLProviderInfo `json:"SAMLProviderSet,omitempty" name:"SAMLProviderSet" list`
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewListSAMLProvidersResponse ¶
func NewListSAMLProvidersResponse() (response *ListSAMLProvidersResponse)
func (*ListSAMLProvidersResponse) FromJsonString ¶
func (r *ListSAMLProvidersResponse) FromJsonString(s string) error
func (*ListSAMLProvidersResponse) ToJsonString ¶
func (r *ListSAMLProvidersResponse) ToJsonString() string
type ListUsersForGroupRequest ¶
type ListUsersForGroupRequest struct {
	*tchttp.BaseRequest
	// 用户组 ID。
	GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"`
	// 页码。默认为1。
	Page *uint64 `json:"Page,omitempty" name:"Page"`
	// 每页数量。默认为20。
	Rp *uint64 `json:"Rp,omitempty" name:"Rp"`
}
    func NewListUsersForGroupRequest ¶
func NewListUsersForGroupRequest() (request *ListUsersForGroupRequest)
func (*ListUsersForGroupRequest) FromJsonString ¶
func (r *ListUsersForGroupRequest) FromJsonString(s string) error
func (*ListUsersForGroupRequest) ToJsonString ¶
func (r *ListUsersForGroupRequest) ToJsonString() string
type ListUsersForGroupResponse ¶
type ListUsersForGroupResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 用户组关联的用户总数。
		TotalNum *uint64 `json:"TotalNum,omitempty" name:"TotalNum"`
		// 子用户信息。
		UserInfo []*GroupMemberInfo `json:"UserInfo,omitempty" name:"UserInfo" list`
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewListUsersForGroupResponse ¶
func NewListUsersForGroupResponse() (response *ListUsersForGroupResponse)
func (*ListUsersForGroupResponse) FromJsonString ¶
func (r *ListUsersForGroupResponse) FromJsonString(s string) error
func (*ListUsersForGroupResponse) ToJsonString ¶
func (r *ListUsersForGroupResponse) ToJsonString() string
type ListUsersRequest ¶
type ListUsersRequest struct {
	*tchttp.BaseRequest
}
    func NewListUsersRequest ¶
func NewListUsersRequest() (request *ListUsersRequest)
func (*ListUsersRequest) FromJsonString ¶
func (r *ListUsersRequest) FromJsonString(s string) error
func (*ListUsersRequest) ToJsonString ¶
func (r *ListUsersRequest) ToJsonString() string
type ListUsersResponse ¶
type ListUsersResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 子用户信息
		Data []*SubAccountInfo `json:"Data,omitempty" name:"Data" list`
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewListUsersResponse ¶
func NewListUsersResponse() (response *ListUsersResponse)
func (*ListUsersResponse) FromJsonString ¶
func (r *ListUsersResponse) FromJsonString(s string) error
func (*ListUsersResponse) ToJsonString ¶
func (r *ListUsersResponse) ToJsonString() string
type LoginActionFlag ¶
type LoginActionFlag struct {
	// 手机
	Phone *uint64 `json:"Phone,omitempty" name:"Phone"`
	// 硬token
	Token *uint64 `json:"Token,omitempty" name:"Token"`
	// 软token
	Stoken *uint64 `json:"Stoken,omitempty" name:"Stoken"`
	// 微信
	Wechat *uint64 `json:"Wechat,omitempty" name:"Wechat"`
	// 自定义
	Custom *uint64 `json:"Custom,omitempty" name:"Custom"`
}
    type OffsiteFlag ¶
type OffsiteFlag struct {
	// 验证标识
	VerifyFlag *uint64 `json:"VerifyFlag,omitempty" name:"VerifyFlag"`
	// 手机通知
	NotifyPhone *uint64 `json:"NotifyPhone,omitempty" name:"NotifyPhone"`
	// 邮箱通知
	NotifyEmail *int64 `json:"NotifyEmail,omitempty" name:"NotifyEmail"`
	// 微信通知
	NotifyWechat *uint64 `json:"NotifyWechat,omitempty" name:"NotifyWechat"`
}
    type RemoveUserFromGroupRequest ¶
type RemoveUserFromGroupRequest struct {
	*tchttp.BaseRequest
	// 要删除的用户 UID和用户组 ID对应数组
	Info []*GroupIdOfUidInfo `json:"Info,omitempty" name:"Info" list`
}
    func NewRemoveUserFromGroupRequest ¶
func NewRemoveUserFromGroupRequest() (request *RemoveUserFromGroupRequest)
func (*RemoveUserFromGroupRequest) FromJsonString ¶
func (r *RemoveUserFromGroupRequest) FromJsonString(s string) error
func (*RemoveUserFromGroupRequest) ToJsonString ¶
func (r *RemoveUserFromGroupRequest) ToJsonString() string
type RemoveUserFromGroupResponse ¶
type RemoveUserFromGroupResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewRemoveUserFromGroupResponse ¶
func NewRemoveUserFromGroupResponse() (response *RemoveUserFromGroupResponse)
func (*RemoveUserFromGroupResponse) FromJsonString ¶
func (r *RemoveUserFromGroupResponse) FromJsonString(s string) error
func (*RemoveUserFromGroupResponse) ToJsonString ¶
func (r *RemoveUserFromGroupResponse) ToJsonString() string
type RoleInfo ¶
type RoleInfo struct {
	// 角色ID
	RoleId *string `json:"RoleId,omitempty" name:"RoleId"`
	// 角色名称
	RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
	// 角色的策略文档
	PolicyDocument *string `json:"PolicyDocument,omitempty" name:"PolicyDocument"`
	// 角色描述
	Description *string `json:"Description,omitempty" name:"Description"`
	// 角色的创建时间
	AddTime *string `json:"AddTime,omitempty" name:"AddTime"`
	// 角色的最近一次时间
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
	// 角色是否允许登录
	ConsoleLogin *uint64 `json:"ConsoleLogin,omitempty" name:"ConsoleLogin"`
}
    type SAMLProviderInfo ¶
type SAMLProviderInfo struct {
	// SAML身份提供商名称
	Name *string `json:"Name,omitempty" name:"Name"`
	// SAML身份提供商描述
	Description *string `json:"Description,omitempty" name:"Description"`
	// SAML身份提供商创建时间
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
	// SAML身份提供商上次修改时间
	ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`
}
    type SetFlagRequest ¶
type SetFlagRequest struct {
	*tchttp.BaseRequest
	// 设置用户的uin
	OpUin *uint64 `json:"OpUin,omitempty" name:"OpUin"`
	// 登录设置
	LoginFlag *LoginActionFlag `json:"LoginFlag,omitempty" name:"LoginFlag"`
	// 敏感操作设置
	ActionFlag *LoginActionFlag `json:"ActionFlag,omitempty" name:"ActionFlag"`
	// 异地登录设置
	OffsiteFlag *OffsiteFlag `json:"OffsiteFlag,omitempty" name:"OffsiteFlag"`
	// 是否需要充值mfa
	NeedResetMfa *uint64 `json:"NeedResetMfa,omitempty" name:"NeedResetMfa"`
}
    func NewSetFlagRequest ¶
func NewSetFlagRequest() (request *SetFlagRequest)
func (*SetFlagRequest) FromJsonString ¶
func (r *SetFlagRequest) FromJsonString(s string) error
func (*SetFlagRequest) ToJsonString ¶
func (r *SetFlagRequest) ToJsonString() string
type SetFlagResponse ¶
type SetFlagResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewSetFlagResponse ¶
func NewSetFlagResponse() (response *SetFlagResponse)
func (*SetFlagResponse) FromJsonString ¶
func (r *SetFlagResponse) FromJsonString(s string) error
func (*SetFlagResponse) ToJsonString ¶
func (r *SetFlagResponse) ToJsonString() string
type StrategyInfo ¶
type StrategyInfo struct {
	// 策略ID。
	PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
	// 策略名称。
	PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"`
	// 策略创建时间。
	// 注意:此字段可能返回 null,表示取不到有效值。
	AddTime *string `json:"AddTime,omitempty" name:"AddTime"`
	// 策略类型。1 表示自定义策略,2 表示预设策略。
	Type *uint64 `json:"Type,omitempty" name:"Type"`
	// 策略描述。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Description *string `json:"Description,omitempty" name:"Description"`
	// 创建来源,1 通过控制台创建, 2 通过策略语法创建。
	CreateMode *uint64 `json:"CreateMode,omitempty" name:"CreateMode"`
	// 关联的用户数
	Attachments *uint64 `json:"Attachments,omitempty" name:"Attachments"`
	// 策略关联的产品
	// 注意:此字段可能返回 null,表示取不到有效值。
	ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"`
	// 当需要查询标记实体是否已经关联策略时不为null。0表示未关联策略,1表示已关联策略
	// 注意:此字段可能返回 null,表示取不到有效值。
	IsAttached *uint64 `json:"IsAttached,omitempty" name:"IsAttached"`
}
    type SubAccountInfo ¶
type SubAccountInfo struct {
	// 子用户用户 ID
	Uin *uint64 `json:"Uin,omitempty" name:"Uin"`
	// 子用户用户名
	Name *string `json:"Name,omitempty" name:"Name"`
	// 子用户 UID
	Uid *uint64 `json:"Uid,omitempty" name:"Uid"`
	// 子用户备注
	Remark *string `json:"Remark,omitempty" name:"Remark"`
	// 子用户能否登录控制台
	ConsoleLogin *uint64 `json:"ConsoleLogin,omitempty" name:"ConsoleLogin"`
	// 手机号
	PhoneNum *string `json:"PhoneNum,omitempty" name:"PhoneNum"`
	// 区号
	CountryCode *string `json:"CountryCode,omitempty" name:"CountryCode"`
	// 邮箱
	Email *string `json:"Email,omitempty" name:"Email"`
}
    type UpdateAssumeRolePolicyRequest ¶
type UpdateAssumeRolePolicyRequest struct {
	*tchttp.BaseRequest
	// 策略文档,示例:{"version":"2.0","statement":[{"action":"name/sts:AssumeRole","effect":"allow","principal":{"service":["cloudaudit.cloud.tencent.com","cls.cloud.tencent.com"]}}]},principal用于指定角色的授权对象。获取该参数可参阅 获取角色详情(https://cloud.tencent.com/document/product/598/36221) 输出参数RoleInfo
	PolicyDocument *string `json:"PolicyDocument,omitempty" name:"PolicyDocument"`
	// 角色ID,用于指定角色,入参 RoleId 与 RoleName 二选一
	RoleId *string `json:"RoleId,omitempty" name:"RoleId"`
	// 角色名称,用于指定角色,入参 RoleId 与 RoleName 二选一
	RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
}
    func NewUpdateAssumeRolePolicyRequest ¶
func NewUpdateAssumeRolePolicyRequest() (request *UpdateAssumeRolePolicyRequest)
func (*UpdateAssumeRolePolicyRequest) FromJsonString ¶
func (r *UpdateAssumeRolePolicyRequest) FromJsonString(s string) error
func (*UpdateAssumeRolePolicyRequest) ToJsonString ¶
func (r *UpdateAssumeRolePolicyRequest) ToJsonString() string
type UpdateAssumeRolePolicyResponse ¶
type UpdateAssumeRolePolicyResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewUpdateAssumeRolePolicyResponse ¶
func NewUpdateAssumeRolePolicyResponse() (response *UpdateAssumeRolePolicyResponse)
func (*UpdateAssumeRolePolicyResponse) FromJsonString ¶
func (r *UpdateAssumeRolePolicyResponse) FromJsonString(s string) error
func (*UpdateAssumeRolePolicyResponse) ToJsonString ¶
func (r *UpdateAssumeRolePolicyResponse) ToJsonString() string
type UpdateGroupRequest ¶
type UpdateGroupRequest struct {
	*tchttp.BaseRequest
	// 用户组 ID
	GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"`
	// 用户组名
	GroupName *string `json:"GroupName,omitempty" name:"GroupName"`
	// 用户组描述
	Remark *string `json:"Remark,omitempty" name:"Remark"`
}
    func NewUpdateGroupRequest ¶
func NewUpdateGroupRequest() (request *UpdateGroupRequest)
func (*UpdateGroupRequest) FromJsonString ¶
func (r *UpdateGroupRequest) FromJsonString(s string) error
func (*UpdateGroupRequest) ToJsonString ¶
func (r *UpdateGroupRequest) ToJsonString() string
type UpdateGroupResponse ¶
type UpdateGroupResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewUpdateGroupResponse ¶
func NewUpdateGroupResponse() (response *UpdateGroupResponse)
func (*UpdateGroupResponse) FromJsonString ¶
func (r *UpdateGroupResponse) FromJsonString(s string) error
func (*UpdateGroupResponse) ToJsonString ¶
func (r *UpdateGroupResponse) ToJsonString() string
type UpdatePolicyRequest ¶
type UpdatePolicyRequest struct {
	*tchttp.BaseRequest
	// 策略 id
	PolicyId *uint64 `json:"PolicyId,omitempty" name:"PolicyId"`
	// 策略名
	PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"`
	// 策略描述
	Description *string `json:"Description,omitempty" name:"Description"`
	// 策略文档
	PolicyDocument *string `json:"PolicyDocument,omitempty" name:"PolicyDocument"`
}
    func NewUpdatePolicyRequest ¶
func NewUpdatePolicyRequest() (request *UpdatePolicyRequest)
func (*UpdatePolicyRequest) FromJsonString ¶
func (r *UpdatePolicyRequest) FromJsonString(s string) error
func (*UpdatePolicyRequest) ToJsonString ¶
func (r *UpdatePolicyRequest) ToJsonString() string
type UpdatePolicyResponse ¶
type UpdatePolicyResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewUpdatePolicyResponse ¶
func NewUpdatePolicyResponse() (response *UpdatePolicyResponse)
func (*UpdatePolicyResponse) FromJsonString ¶
func (r *UpdatePolicyResponse) FromJsonString(s string) error
func (*UpdatePolicyResponse) ToJsonString ¶
func (r *UpdatePolicyResponse) ToJsonString() string
type UpdateRoleDescriptionRequest ¶
type UpdateRoleDescriptionRequest struct {
	*tchttp.BaseRequest
	// 角色描述
	Description *string `json:"Description,omitempty" name:"Description"`
	// 角色ID,用于指定角色,入参 RoleId 与 RoleName 二选一
	RoleId *string `json:"RoleId,omitempty" name:"RoleId"`
	// 角色名称,用于指定角色,入参 RoleId 与 RoleName 二选一
	RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
}
    func NewUpdateRoleDescriptionRequest ¶
func NewUpdateRoleDescriptionRequest() (request *UpdateRoleDescriptionRequest)
func (*UpdateRoleDescriptionRequest) FromJsonString ¶
func (r *UpdateRoleDescriptionRequest) FromJsonString(s string) error
func (*UpdateRoleDescriptionRequest) ToJsonString ¶
func (r *UpdateRoleDescriptionRequest) ToJsonString() string
type UpdateRoleDescriptionResponse ¶
type UpdateRoleDescriptionResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewUpdateRoleDescriptionResponse ¶
func NewUpdateRoleDescriptionResponse() (response *UpdateRoleDescriptionResponse)
func (*UpdateRoleDescriptionResponse) FromJsonString ¶
func (r *UpdateRoleDescriptionResponse) FromJsonString(s string) error
func (*UpdateRoleDescriptionResponse) ToJsonString ¶
func (r *UpdateRoleDescriptionResponse) ToJsonString() string
type UpdateSAMLProviderRequest ¶
type UpdateSAMLProviderRequest struct {
	*tchttp.BaseRequest
	// SAML身份提供商名称
	Name *string `json:"Name,omitempty" name:"Name"`
	// SAML身份提供商描述
	Description *string `json:"Description,omitempty" name:"Description"`
	// SAML身份提供商Base64编码的元数据文档
	SAMLMetadataDocument *string `json:"SAMLMetadataDocument,omitempty" name:"SAMLMetadataDocument"`
}
    func NewUpdateSAMLProviderRequest ¶
func NewUpdateSAMLProviderRequest() (request *UpdateSAMLProviderRequest)
func (*UpdateSAMLProviderRequest) FromJsonString ¶
func (r *UpdateSAMLProviderRequest) FromJsonString(s string) error
func (*UpdateSAMLProviderRequest) ToJsonString ¶
func (r *UpdateSAMLProviderRequest) ToJsonString() string
type UpdateSAMLProviderResponse ¶
type UpdateSAMLProviderResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewUpdateSAMLProviderResponse ¶
func NewUpdateSAMLProviderResponse() (response *UpdateSAMLProviderResponse)
func (*UpdateSAMLProviderResponse) FromJsonString ¶
func (r *UpdateSAMLProviderResponse) FromJsonString(s string) error
func (*UpdateSAMLProviderResponse) ToJsonString ¶
func (r *UpdateSAMLProviderResponse) ToJsonString() string
type UpdateUserRequest ¶
type UpdateUserRequest struct {
	*tchttp.BaseRequest
	// 子用户用户名
	Name *string `json:"Name,omitempty" name:"Name"`
	// 子用户备注
	Remark *string `json:"Remark,omitempty" name:"Remark"`
	// 子用户是否可以登录控制台。传0子用户无法登录控制台,传1子用户可以登录控制台。
	ConsoleLogin *uint64 `json:"ConsoleLogin,omitempty" name:"ConsoleLogin"`
	// 子用户控制台登录密码,若未进行密码规则设置则默认密码规则为8位以上同时包含大写小字母、数字和特殊字符。只有可以登录控制台时才有效,如果传空并且上面指定允许登录控制台,则自动生成随机密码,随机密码规则为32位包含大写小字母、数字和特殊字符。
	Password *string `json:"Password,omitempty" name:"Password"`
	// 子用户是否要在下次登录时重置密码。传0子用户下次登录控制台不需重置密码,传1子用户下次登录控制台需要重置密码。
	NeedResetPassword *uint64 `json:"NeedResetPassword,omitempty" name:"NeedResetPassword"`
	// 手机号
	PhoneNum *string `json:"PhoneNum,omitempty" name:"PhoneNum"`
	// 区号
	CountryCode *string `json:"CountryCode,omitempty" name:"CountryCode"`
	// 邮箱
	Email *string `json:"Email,omitempty" name:"Email"`
}
    func NewUpdateUserRequest ¶
func NewUpdateUserRequest() (request *UpdateUserRequest)
func (*UpdateUserRequest) FromJsonString ¶
func (r *UpdateUserRequest) FromJsonString(s string) error
func (*UpdateUserRequest) ToJsonString ¶
func (r *UpdateUserRequest) ToJsonString() string
type UpdateUserResponse ¶
type UpdateUserResponse struct {
	*tchttp.BaseResponse
	Response *struct {
		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}
    func NewUpdateUserResponse ¶
func NewUpdateUserResponse() (response *UpdateUserResponse)
func (*UpdateUserResponse) FromJsonString ¶
func (r *UpdateUserResponse) FromJsonString(s string) error
func (*UpdateUserResponse) ToJsonString ¶
func (r *UpdateUserResponse) ToJsonString() string