model

package
v0.1.146 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2025 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessKey

type AccessKey struct {

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`

	// 创建的永久访问密钥ID,即AK。
	AccessKeyId string `json:"access_key_id"`

	// 访问密钥创建时间。
	CreatedAt *sdktime.SdkTime `json:"created_at"`

	// 创建的SK。
	SecretAccessKey string `json:"secret_access_key"`

	Status *AccessKeyStatus `json:"status"`
}

AccessKey 创建的永久访问密钥。

func (AccessKey) String

func (o AccessKey) String() string

type AccessKeyLastUsed

type AccessKeyLastUsed struct {

	// 访问密钥的最后使用时间。若不存在则表示从未使用过。
	LastUsedAt *sdktime.SdkTime `json:"last_used_at,omitempty"`
}

AccessKeyLastUsed 访问密钥的最后使用时间。

func (AccessKeyLastUsed) String

func (o AccessKeyLastUsed) String() string

type AccessKeyMetadata

type AccessKeyMetadata struct {

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`

	// 永久访问密钥ID,即AK。
	AccessKeyId string `json:"access_key_id"`

	// 访问密钥创建时间。
	CreatedAt *sdktime.SdkTime `json:"created_at"`

	Status *AccessKeyStatus `json:"status"`
}

AccessKeyMetadata 永久访问密钥。

func (AccessKeyMetadata) String

func (o AccessKeyMetadata) String() string

type AccessKeyStatus

type AccessKeyStatus struct {
	// contains filtered or unexported fields
}

AccessKeyStatus 访问密钥状态,可以为“启用”(active)或“停用”(inactive)。

func (AccessKeyStatus) MarshalJSON

func (c AccessKeyStatus) MarshalJSON() ([]byte, error)

func (*AccessKeyStatus) UnmarshalJSON

func (c *AccessKeyStatus) UnmarshalJSON(b []byte) error

func (AccessKeyStatus) Value

func (c AccessKeyStatus) Value() string

type AccessKeyStatusEnum

type AccessKeyStatusEnum struct {
	ACTIVE   AccessKeyStatus
	INACTIVE AccessKeyStatus
}

func GetAccessKeyStatusEnum

func GetAccessKeyStatusEnum() AccessKeyStatusEnum

type Action

type Action struct {

	// 三段式的授权项名称,例如\"iam:policies:createV5\"。
	Name string `json:"name"`

	// 在策略中使用此授权项时授予的访问级别。
	AccessLevel ActionAccessLevel `json:"access_level"`

	// 该授权项是否仅作为权限点,不对应任何操作。
	PermissionOnly bool `json:"permission_only"`

	Description *Description `json:"description"`

	// 授权项别名列表,用以兼容授权项改名或者拆分新授权项的场景。
	Aliases *[]string `json:"aliases,omitempty"`

	// 与该授权项关联的资源列表,用于定义授权项的资源级权限。
	Resources *[]ActionAssociatedResource `json:"resources,omitempty"`

	// 该授权项支持的,且与资源无关的服务自定义条件属性以及部分全局属性。
	ConditionKeys *[]string `json:"condition_keys,omitempty"`
}

Action 授权项。

func (Action) String

func (o Action) String() string

type ActionAccessLevel

type ActionAccessLevel struct {
	// contains filtered or unexported fields
}

func (ActionAccessLevel) MarshalJSON

func (c ActionAccessLevel) MarshalJSON() ([]byte, error)

func (*ActionAccessLevel) UnmarshalJSON

func (c *ActionAccessLevel) UnmarshalJSON(b []byte) error

func (ActionAccessLevel) Value

func (c ActionAccessLevel) Value() string

type ActionAccessLevelEnum

type ActionAccessLevelEnum struct {
	LIST                  ActionAccessLevel
	READ                  ActionAccessLevel
	WRITE                 ActionAccessLevel
	PERMISSION_MANAGEMENT ActionAccessLevel
	TAGGING               ActionAccessLevel
}

func GetActionAccessLevelEnum

func GetActionAccessLevelEnum() ActionAccessLevelEnum

type ActionAssociatedResource

type ActionAssociatedResource struct {

	// 统一资源名称模板,表示可以通过这类资源的统一资源名称对该授权项进行资源粒度的授权。
	UrnTemplate string `json:"urn_template"`

	// 标识该资源类型是否是这个授权项必选的,即授权项一定涉及对这类资源的操作;例如subnet是vpc:subnets:get的必选资源类型;而ou是organizations::tagResource的可选资源类型,因为organizations::tagResource操作的资源还可能是account或者policy。
	Required bool `json:"required"`

	// 针对该授权项和资源的服务自定义条件属性以及部分全局属性,只有授权项和资源同时匹配时才会生效。
	ConditionKeys *[]string `json:"condition_keys,omitempty"`
}

ActionAssociatedResource 与该授权项关联的资源。

func (ActionAssociatedResource) String

func (o ActionAssociatedResource) String() string

type ActionName

type ActionName struct {
}

ActionName 三段式的授权项名称,例如\"iam:policies:createV5\"。

func (ActionName) String

func (o ActionName) String() string

type AddUserToGroupReqBody

type AddUserToGroupReqBody struct {

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`
}

func (AddUserToGroupReqBody) String

func (o AddUserToGroupReqBody) String() string

type AddUserToGroupV5Request

type AddUserToGroupV5Request struct {

	// 用户组ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	GroupId string `json:"group_id"`

	Body *AddUserToGroupReqBody `json:"body,omitempty"`
}

AddUserToGroupV5Request Request Object

func (AddUserToGroupV5Request) String

func (o AddUserToGroupV5Request) String() string

type AddUserToGroupV5Response

type AddUserToGroupV5Response struct {
	HttpStatusCode int `json:"-"`
}

AddUserToGroupV5Response Response Object

func (AddUserToGroupV5Response) String

func (o AddUserToGroupV5Response) String() string

type Agency

type Agency struct {

	// 统一资源名称。
	Urn string `json:"urn"`

	// 信任委托信任策略的策略文档的json格式。下面的字符`= < > ( ) |`是语法中的特殊字符,不包含在信任策略中。  问号`?`表示元素是可选的。例如`sid_block?`。  竖线`|`表示可选项,括号定义了可选项的范围。例如`(\"Allow\" | \"Deny\")`。  当一个元素允许多个值时,使用重复值、`,`以及`...`表示。例如`[ <policy_statement>, <policy_statement>, ... ]`。  下面的递归文法描述了信任策略的语法: “` policy = {   <version_block>,   <statement_block> }  <version_block> = \"Version\" : (\"5.0\")  <statement_block> = \"Statement\" : [ <policy_statement>, <policy_statement>, ... ]  <policy_statement> = {   <sid_block?>,   <principal_block>,   <effect_block>,   <action_block>,   <resource_block?>,   <condition_block?> }  <sid_block> = \"Sid\" : <sid_string>  <principal_block> = (\"Principal\" | \"NotPrincipal\") : <principal_map>  <principal_map> = { <principal_map_entry>, <principal_map_entry>, ... }  <principal_map_entry> = (\"IAM\" | \"Service\") : [ <principal_id_string>, <principal_id_string>, ... ]  <effect_block> = \"Effect\" : (\"Allow\" | \"Deny\")  <action_block> = (\"Action\" | \"NotAction\") : [ <action_string>, <action_string>, ... ]  <resource_block> = (\"Resource\" | \"NotResource\") : [ <resource_string>, <resource_string>, ... ]  <condition_block> = \"Condition\" : { <condition_map> }  <condition_map> = {   <condition_type_string> : { <condition_key_string> : <condition_value_list> },   <condition_type_string> : { <condition_key_string> : <condition_value_list> },   ... }  <condition_value_list> = ( <condition_value> | [ <condition_value>, <condition_value>, ... ] )  <condition_value> = \"string\" “`
	TrustPolicy *string `json:"trust_policy,omitempty"`

	// 委托或信任委托创建时间。
	CreatedAt *sdktime.SdkTime `json:"created_at"`

	// 委托或信任委托描述信息。
	Description *string `json:"description,omitempty"`

	// 委托或信任委托最大会话时长,默认为3600秒。
	MaxSessionDuration int32 `json:"max_session_duration"`

	// 资源路径,默认为空串。由若干段字符串拼接而成,每段先包含一个或多个字母、数字、\".\"、\",\"、\"+\"、\"@\"、\"=\"、\"_\"或\"-\",并以\"/\"结尾,例如\"foo/bar/\"。
	Path string `json:"path"`

	// 委托或信任委托ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	AgencyId string `json:"agency_id"`

	// 委托或信任委托名称,长度为1到64个字符,只包含字母、数字、\"_\"、\"+\"、\"=\"、\",\"、\".\"、\"@\"和\"-\"的字符串。
	AgencyName string `json:"agency_name"`

	// 被委托方账号ID,仅存在于委托中,不存在于信任委托中。
	TrustDomainId *string `json:"trust_domain_id,omitempty"`

	// 被委托方账号名,仅存在于委托中,不存在于信任委托中。
	TrustDomainName *string `json:"trust_domain_name,omitempty"`
}

Agency 委托或信任委托。

func (Agency) String

func (o Agency) String() string

type AgencyEx

type AgencyEx struct {

	// 统一资源名称。
	Urn string `json:"urn"`

	// 信任委托信任策略的策略文档的json格式。下面的字符`= < > ( ) |`是语法中的特殊字符,不包含在信任策略中。  问号`?`表示元素是可选的。例如`sid_block?`。  竖线`|`表示可选项,括号定义了可选项的范围。例如`(\"Allow\" | \"Deny\")`。  当一个元素允许多个值时,使用重复值、`,`以及`...`表示。例如`[ <policy_statement>, <policy_statement>, ... ]`。  下面的递归文法描述了信任策略的语法: “` policy = {   <version_block>,   <statement_block> }  <version_block> = \"Version\" : (\"5.0\")  <statement_block> = \"Statement\" : [ <policy_statement>, <policy_statement>, ... ]  <policy_statement> = {   <sid_block?>,   <principal_block>,   <effect_block>,   <action_block>,   <resource_block?>,   <condition_block?> }  <sid_block> = \"Sid\" : <sid_string>  <principal_block> = (\"Principal\" | \"NotPrincipal\") : <principal_map>  <principal_map> = { <principal_map_entry>, <principal_map_entry>, ... }  <principal_map_entry> = (\"IAM\" | \"Service\") : [ <principal_id_string>, <principal_id_string>, ... ]  <effect_block> = \"Effect\" : (\"Allow\" | \"Deny\")  <action_block> = (\"Action\" | \"NotAction\") : [ <action_string>, <action_string>, ... ]  <resource_block> = (\"Resource\" | \"NotResource\") : [ <resource_string>, <resource_string>, ... ]  <condition_block> = \"Condition\" : { <condition_map> }  <condition_map> = {   <condition_type_string> : { <condition_key_string> : <condition_value_list> },   <condition_type_string> : { <condition_key_string> : <condition_value_list> },   ... }  <condition_value_list> = ( <condition_value> | [ <condition_value>, <condition_value>, ... ] )  <condition_value> = \"string\" “`
	TrustPolicy *string `json:"trust_policy,omitempty"`

	// 委托或信任委托创建时间。
	CreatedAt *sdktime.SdkTime `json:"created_at"`

	// 委托或信任委托描述信息。
	Description *string `json:"description,omitempty"`

	// 委托或信任委托最大会话时长,默认为3600秒。
	MaxSessionDuration int32 `json:"max_session_duration"`

	// 资源路径,默认为空串。由若干段字符串拼接而成,每段先包含一个或多个字母、数字、\".\"、\",\"、\"+\"、\"@\"、\"=\"、\"_\"或\"-\",并以\"/\"结尾,例如\"foo/bar/\"。
	Path string `json:"path"`

	// 委托或信任委托ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	AgencyId string `json:"agency_id"`

	// 委托或信任委托名称,长度为1到64个字符,只包含字母、数字、\"_\"、\"+\"、\"=\"、\",\"、\".\"、\"@\"和\"-\"的字符串。
	AgencyName string `json:"agency_name"`

	// 被委托方账号ID,仅存在于委托中,不存在于信任委托中。
	TrustDomainId *string `json:"trust_domain_id,omitempty"`

	// 被委托方账号名,仅存在于委托中,不存在于信任委托中。
	TrustDomainName *string `json:"trust_domain_name,omitempty"`

	// 自定义标签列表。
	Tags []Tag `json:"tags"`
}

AgencyEx 委托或信任委托。

func (AgencyEx) String

func (o AgencyEx) String() string

type AgencyId

type AgencyId struct {
}

AgencyId 委托或信任委托ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。

func (AgencyId) String

func (o AgencyId) String() string

type AgencyName

type AgencyName struct {
}

AgencyName 委托或信任委托名称,长度为1到64个字符,只包含字母、数字、\"_\"、\"+\"、\"=\"、\",\"、\".\"、\"@\"和\"-\"的字符串。

func (AgencyName) String

func (o AgencyName) String() string

type AgencyUsage

type AgencyUsage struct {

	// 区域名称。
	Region string `json:"region"`

	// 统一资源名称列表。
	Resources []string `json:"resources"`
}

func (AgencyUsage) String

func (o AgencyUsage) String() string

type AllowAddressNetmask

type AllowAddressNetmask struct {

	// IP地址或网段,例如\"192.168.0.1/24\"。
	AddressNetmask string `json:"address_netmask"`

	// 描述信息,不能包含特定字符\"@\"、\"#\"、\"%\"、\"&\"、\"<\"、\">\"、\"\\\\\"、\"$\"、\"^\"和\"*\"的字符串。
	Description *string `json:"description,omitempty"`
}

AllowAddressNetmask 允许访问的IP地址或网段。

func (AllowAddressNetmask) String

func (o AllowAddressNetmask) String() string

type AllowIpRange

type AllowIpRange struct {

	// IP地址区间,例如\"0.0.0.0-255.255.255.255\"。
	IpRange string `json:"ip_range"`

	// 描述信息,不能包含特定字符\"@\"、\"#\"、\"%\"、\"&\"、\"<\"、\">\"、\"\\\\\"、\"$\"、\"^\"和\"*\"的字符串。
	Description *string `json:"description,omitempty"`
}

AllowIpRange 允许访问的IP地址区间。

func (AllowIpRange) String

func (o AllowIpRange) String() string

type AsymmetricSignature

type AsymmetricSignature struct {

	// 非对称签名开关。
	AsymmetricSignatureSwitch bool `json:"asymmetric_signature_switch"`
}

AsymmetricSignature 设置账号是否开启非对称签名功能。

func (AsymmetricSignature) String

func (o AsymmetricSignature) String() string

type AsymmetricSignatureWithDomainId

type AsymmetricSignatureWithDomainId struct {

	// 账号ID。
	DomainId string `json:"domain_id"`

	// 凭证非对称签名开关。
	AsymmetricSignatureSwitch bool `json:"asymmetric_signature_switch"`
}

AsymmetricSignatureWithDomainId 账号非对称签名开关信息。

func (AsymmetricSignatureWithDomainId) String

type AttachAgencyPolicyReqBody

type AttachAgencyPolicyReqBody struct {

	// 委托或信任委托ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	AgencyId string `json:"agency_id"`
}

AttachAgencyPolicyReqBody Contains information about a id of an agency.

func (AttachAgencyPolicyReqBody) String

func (o AttachAgencyPolicyReqBody) String() string

type AttachAgencyPolicyV5Request

type AttachAgencyPolicyV5Request struct {

	// 身份策略ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	PolicyId string `json:"policy_id"`

	Body *AttachAgencyPolicyReqBody `json:"body,omitempty"`
}

AttachAgencyPolicyV5Request Request Object

func (AttachAgencyPolicyV5Request) String

type AttachAgencyPolicyV5Response

type AttachAgencyPolicyV5Response struct {
	HttpStatusCode int `json:"-"`
}

AttachAgencyPolicyV5Response Response Object

func (AttachAgencyPolicyV5Response) String

type AttachGroupPolicyReqBody

type AttachGroupPolicyReqBody struct {

	// 用户组ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	GroupId string `json:"group_id"`
}

AttachGroupPolicyReqBody Contains information about a id of a group.

func (AttachGroupPolicyReqBody) String

func (o AttachGroupPolicyReqBody) String() string

type AttachGroupPolicyV5Request

type AttachGroupPolicyV5Request struct {

	// 身份策略ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	PolicyId string `json:"policy_id"`

	Body *AttachGroupPolicyReqBody `json:"body,omitempty"`
}

AttachGroupPolicyV5Request Request Object

func (AttachGroupPolicyV5Request) String

type AttachGroupPolicyV5Response

type AttachGroupPolicyV5Response struct {
	HttpStatusCode int `json:"-"`
}

AttachGroupPolicyV5Response Response Object

func (AttachGroupPolicyV5Response) String

type AttachUserPolicyReqBody

type AttachUserPolicyReqBody struct {

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`
}

AttachUserPolicyReqBody Contains information about a id of a user.

func (AttachUserPolicyReqBody) String

func (o AttachUserPolicyReqBody) String() string

type AttachUserPolicyV5Request

type AttachUserPolicyV5Request struct {

	// 身份策略ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	PolicyId string `json:"policy_id"`

	Body *AttachUserPolicyReqBody `json:"body,omitempty"`
}

AttachUserPolicyV5Request Request Object

func (AttachUserPolicyV5Request) String

func (o AttachUserPolicyV5Request) String() string

type AttachUserPolicyV5Response

type AttachUserPolicyV5Response struct {
	HttpStatusCode int `json:"-"`
}

AttachUserPolicyV5Response Response Object

func (AttachUserPolicyV5Response) String

type AttachedAt

type AttachedAt struct {
}

AttachedAt 身份策略的附加时间。

func (AttachedAt) String

func (o AttachedAt) String() string

type AttachedPolicy

type AttachedPolicy struct {

	// 身份策略名称,长度为1到128个字符,只包含字母、数字、\"_\"、\"+\"、\"=\"、\".\"、\"@\"和\"-\"的字符串。
	PolicyName string `json:"policy_name"`

	// 身份策略ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	PolicyId string `json:"policy_id"`

	// 统一资源名称。
	Urn string `json:"urn"`

	// 身份策略的附加时间。
	AttachedAt *sdktime.SdkTime `json:"attached_at"`
}

func (AttachedPolicy) String

func (o AttachedPolicy) String() string

type ChangePasswordReqBody

type ChangePasswordReqBody struct {

	// IAM用户的新密码。
	NewPassword string `json:"new_password"`

	// IAM用户的旧密码。
	OldPassword string `json:"old_password"`
}

ChangePasswordReqBody The request body of change password request.

func (ChangePasswordReqBody) String

func (o ChangePasswordReqBody) String() string

type ChangePasswordV5Request

type ChangePasswordV5Request struct {
	Body *ChangePasswordReqBody `json:"body,omitempty"`
}

ChangePasswordV5Request Request Object

func (ChangePasswordV5Request) String

func (o ChangePasswordV5Request) String() string

type ChangePasswordV5Response

type ChangePasswordV5Response struct {
	HttpStatusCode int `json:"-"`
}

ChangePasswordV5Response Response Object

func (ChangePasswordV5Response) String

func (o ChangePasswordV5Response) String() string

type Condition

type Condition struct {

	// 条件键的名称。
	Key string `json:"key"`

	// 条件值的数据类型。
	ValueType ConditionValueType `json:"value_type"`

	// 条件值是否为多值。
	MultiValued bool `json:"multi_valued"`

	Description *Description `json:"description"`
}

Condition 条件键。

func (Condition) String

func (o Condition) String() string

type ConditionKey

type ConditionKey struct {
}

ConditionKey 条件键的名称。

func (ConditionKey) String

func (o ConditionKey) String() string

type ConditionValueType

type ConditionValueType struct {
	// contains filtered or unexported fields
}

func (ConditionValueType) MarshalJSON

func (c ConditionValueType) MarshalJSON() ([]byte, error)

func (*ConditionValueType) UnmarshalJSON

func (c *ConditionValueType) UnmarshalJSON(b []byte) error

func (ConditionValueType) Value

func (c ConditionValueType) Value() string

type ConditionValueTypeEnum

type ConditionValueTypeEnum struct {
	STRING     ConditionValueType
	NUMERIC    ConditionValueType
	DATE       ConditionValueType
	BOOLEAN    ConditionValueType
	IP_ADDRESS ConditionValueType
}

func GetConditionValueTypeEnum

func GetConditionValueTypeEnum() ConditionValueTypeEnum

type CreateAccessKeyV5Request

type CreateAccessKeyV5Request struct {

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`
}

CreateAccessKeyV5Request Request Object

func (CreateAccessKeyV5Request) String

func (o CreateAccessKeyV5Request) String() string

type CreateAccessKeyV5Response

type CreateAccessKeyV5Response struct {
	AccessKey      *AccessKey `json:"access_key,omitempty"`
	HttpStatusCode int        `json:"-"`
}

CreateAccessKeyV5Response Response Object

func (CreateAccessKeyV5Response) String

func (o CreateAccessKeyV5Response) String() string

type CreateAgencyReqBody

type CreateAgencyReqBody struct {

	// 委托或信任委托名称,长度为1到64个字符,只包含字母、数字、\"_\"、\"+\"、\"=\"、\",\"、\".\"、\"@\"和\"-\"的字符串。
	AgencyName string `json:"agency_name"`

	// 资源路径,默认为空串。由若干段字符串拼接而成,每段先包含一个或多个字母、数字、\".\"、\",\"、\"+\"、\"@\"、\"=\"、\"_\"或\"-\",并以\"/\"结尾,例如\"foo/bar/\"。
	Path *string `json:"path,omitempty"`

	// 信任委托信任策略的策略文档的json格式。下面的字符`= < > ( ) |`是语法中的特殊字符,不包含在信任策略中。  问号`?`表示元素是可选的。例如`sid_block?`。  竖线`|`表示可选项,括号定义了可选项的范围。例如`(\"Allow\" | \"Deny\")`。  当一个元素允许多个值时,使用重复值、`,`以及`...`表示。例如`[ <policy_statement>, <policy_statement>, ... ]`。  下面的递归文法描述了信任策略的语法: “` policy = {   <version_block>,   <statement_block> }  <version_block> = \"Version\" : (\"5.0\")  <statement_block> = \"Statement\" : [ <policy_statement>, <policy_statement>, ... ]  <policy_statement> = {   <sid_block?>,   <principal_block>,   <effect_block>,   <action_block>,   <resource_block?>,   <condition_block?> }  <sid_block> = \"Sid\" : <sid_string>  <principal_block> = (\"Principal\" | \"NotPrincipal\") : <principal_map>  <principal_map> = { <principal_map_entry>, <principal_map_entry>, ... }  <principal_map_entry> = (\"IAM\" | \"Service\") : [ <principal_id_string>, <principal_id_string>, ... ]  <effect_block> = \"Effect\" : (\"Allow\" | \"Deny\")  <action_block> = (\"Action\" | \"NotAction\") : [ <action_string>, <action_string>, ... ]  <resource_block> = (\"Resource\" | \"NotResource\") : [ <resource_string>, <resource_string>, ... ]  <condition_block> = \"Condition\" : { <condition_map> }  <condition_map> = {   <condition_type_string> : { <condition_key_string> : <condition_value_list> },   <condition_type_string> : { <condition_key_string> : <condition_value_list> },   ... }  <condition_value_list> = ( <condition_value> | [ <condition_value>, <condition_value>, ... ] )  <condition_value> = \"string\" “`
	TrustPolicy string `json:"trust_policy"`

	// 委托或信任委托最大会话时长,默认为3600秒。
	MaxSessionDuration *int32 `json:"max_session_duration,omitempty"`

	// 委托或信任委托描述信息,默认为空串。
	Description *string `json:"description,omitempty"`
}

CreateAgencyReqBody The request body of create agency request.

func (CreateAgencyReqBody) String

func (o CreateAgencyReqBody) String() string

type CreateAgencyV5Request

type CreateAgencyV5Request struct {
	Body *CreateAgencyReqBody `json:"body,omitempty"`
}

CreateAgencyV5Request Request Object

func (CreateAgencyV5Request) String

func (o CreateAgencyV5Request) String() string

type CreateAgencyV5Response

type CreateAgencyV5Response struct {
	Agency         *Agency `json:"agency,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateAgencyV5Response Response Object

func (CreateAgencyV5Response) String

func (o CreateAgencyV5Response) String() string

type CreateGroupReqBody

type CreateGroupReqBody struct {

	// 用户组名,可包含中文、英文、数字、空格、\"_\"、\"-\"、\"{\"和\"}\"的字符串。
	GroupName string `json:"group_name"`

	// 用户组描述信息,不能包含特定字符\"@\"、\"#\"、\"%\"、\"&\"、\"<\"、\">\"、\"\\\\\"、\"$\"、\"^\"和\"*\"的字符串。
	Description *string `json:"description,omitempty"`
}

CreateGroupReqBody The request body of create group request.

func (CreateGroupReqBody) String

func (o CreateGroupReqBody) String() string

type CreateGroupV5Request

type CreateGroupV5Request struct {
	Body *CreateGroupReqBody `json:"body,omitempty"`
}

CreateGroupV5Request Request Object

func (CreateGroupV5Request) String

func (o CreateGroupV5Request) String() string

type CreateGroupV5Response

type CreateGroupV5Response struct {
	Group          *Group `json:"group,omitempty"`
	HttpStatusCode int    `json:"-"`
}

CreateGroupV5Response Response Object

func (CreateGroupV5Response) String

func (o CreateGroupV5Response) String() string

type CreateLoginProfileReqBody

type CreateLoginProfileReqBody struct {

	// IAM用户的密码。
	Password string `json:"password"`

	// IAM用户下次登录时是否需要修改密码。
	PasswordResetRequired bool `json:"password_reset_required"`
}

CreateLoginProfileReqBody The request body of create login profile request.

func (CreateLoginProfileReqBody) String

func (o CreateLoginProfileReqBody) String() string

type CreateLoginProfileV5Request

type CreateLoginProfileV5Request struct {

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`

	Body *CreateLoginProfileReqBody `json:"body,omitempty"`
}

CreateLoginProfileV5Request Request Object

func (CreateLoginProfileV5Request) String

type CreateLoginProfileV5Response

type CreateLoginProfileV5Response struct {
	LoginProfile   *LoginProfile `json:"login_profile,omitempty"`
	HttpStatusCode int           `json:"-"`
}

CreateLoginProfileV5Response Response Object

func (CreateLoginProfileV5Response) String

type CreatePolicyReqBody

type CreatePolicyReqBody struct {

	// 身份策略名称,长度为1到128个字符,只包含字母、数字、\"_\"、\"+\"、\"=\"、\".\"、\"@\"和\"-\"的字符串。
	PolicyName string `json:"policy_name"`

	// 资源路径,默认为空串。由若干段字符串拼接而成,每段先包含一个或多个字母、数字、\".\"、\",\"、\"+\"、\"@\"、\"=\"、\"_\"或\"-\",并以\"/\"结尾,例如\"foo/bar/\"。
	Path *string `json:"path,omitempty"`

	// 自定义身份策略或系统预置身份策略的策略文档的json格式。下面的字符`= < > ( ) |`是语法中的特殊字符,不包含在身份策略中。  问号`?`表示元素是可选的。例如`sid_block?`。  竖线`|`表示可选项,括号定义了可选项的范围。例如`(\"Allow\" | \"Deny\")`。  当一个元素允许多个值时,使用重复值、`,`以及`...`表示。例如`[ <policy_statement>, <policy_statement>, ... ]`。  下面的递归文法描述了身份策略的语法: “` policy = {   <version_block>,   <statement_block> }  <version_block> = \"Version\" : (\"5.0\")  <statement_block> = \"Statement\" : [ <policy_statement>, <policy_statement>, ... ]  <policy_statement> = {   <sid_block?>,   <effect_block>,   <action_block>,   <resource_block?>,   <condition_block?> }  <sid_block> = \"Sid\" : <sid_string>  <effect_block> = \"Effect\" : (\"Allow\" | \"Deny\")  <action_block> = (\"Action\" | \"NotAction\") : [ <action_string>, <action_string>, ... ]  <resource_block> = (\"Resource\" | \"NotResource\") : [ <resource_string>, <resource_string>, ... ]  <condition_block> = \"Condition\" : { <condition_map> }  <condition_map> = {   <condition_type_string> : { <condition_key_string> : <condition_value_list> },   <condition_type_string> : { <condition_key_string> : <condition_value_list> },   ... }  <condition_value_list> = ( <condition_value> | [ <condition_value>, <condition_value>, ... ] )  <condition_value> = \"string\" “`
	PolicyDocument string `json:"policy_document"`

	// 身份策略描述。
	Description *string `json:"description,omitempty"`
}

CreatePolicyReqBody The request body of create policy request.

func (CreatePolicyReqBody) String

func (o CreatePolicyReqBody) String() string

type CreatePolicyV5Request

type CreatePolicyV5Request struct {
	Body *CreatePolicyReqBody `json:"body,omitempty"`
}

CreatePolicyV5Request Request Object

func (CreatePolicyV5Request) String

func (o CreatePolicyV5Request) String() string

type CreatePolicyV5Response

type CreatePolicyV5Response struct {
	Policy         *Policy `json:"policy,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreatePolicyV5Response Response Object

func (CreatePolicyV5Response) String

func (o CreatePolicyV5Response) String() string

type CreatePolicyVersionReqBody

type CreatePolicyVersionReqBody struct {

	// 自定义身份策略或系统预置身份策略的策略文档的json格式。下面的字符`= < > ( ) |`是语法中的特殊字符,不包含在身份策略中。  问号`?`表示元素是可选的。例如`sid_block?`。  竖线`|`表示可选项,括号定义了可选项的范围。例如`(\"Allow\" | \"Deny\")`。  当一个元素允许多个值时,使用重复值、`,`以及`...`表示。例如`[ <policy_statement>, <policy_statement>, ... ]`。  下面的递归文法描述了身份策略的语法: “` policy = {   <version_block>,   <statement_block> }  <version_block> = \"Version\" : (\"5.0\")  <statement_block> = \"Statement\" : [ <policy_statement>, <policy_statement>, ... ]  <policy_statement> = {   <sid_block?>,   <effect_block>,   <action_block>,   <resource_block?>,   <condition_block?> }  <sid_block> = \"Sid\" : <sid_string>  <effect_block> = \"Effect\" : (\"Allow\" | \"Deny\")  <action_block> = (\"Action\" | \"NotAction\") : [ <action_string>, <action_string>, ... ]  <resource_block> = (\"Resource\" | \"NotResource\") : [ <resource_string>, <resource_string>, ... ]  <condition_block> = \"Condition\" : { <condition_map> }  <condition_map> = {   <condition_type_string> : { <condition_key_string> : <condition_value_list> },   <condition_type_string> : { <condition_key_string> : <condition_value_list> },   ... }  <condition_value_list> = ( <condition_value> | [ <condition_value>, <condition_value>, ... ] )  <condition_value> = \"string\" “`
	PolicyDocument string `json:"policy_document"`

	// 是否设置为默认版本。
	SetAsDefault *bool `json:"set_as_default,omitempty"`
}

CreatePolicyVersionReqBody the request body of create policy version request.

func (CreatePolicyVersionReqBody) String

type CreatePolicyVersionV5Request

type CreatePolicyVersionV5Request struct {

	// 身份策略ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	PolicyId string `json:"policy_id"`

	Body *CreatePolicyVersionReqBody `json:"body,omitempty"`
}

CreatePolicyVersionV5Request Request Object

func (CreatePolicyVersionV5Request) String

type CreatePolicyVersionV5Response

type CreatePolicyVersionV5Response struct {
	PolicyVersion  *PolicyVersion `json:"policy_version,omitempty"`
	HttpStatusCode int            `json:"-"`
}

CreatePolicyVersionV5Response Response Object

func (CreatePolicyVersionV5Response) String

type CreateServiceLinkedAgencyReqBody

type CreateServiceLinkedAgencyReqBody struct {

	// 服务主体,由\"service.\"开头,后跟一个长度为1到56个字符,只包含字母、数字和\"-\"的字符串。
	ServicePrincipal string `json:"service_principal"`

	// 服务关联委托描述信息,不能包含特定字符\"@\"、\"#\"、\"%\"、\"&\"、\"<\"、\">\"、\"\\\\\"、\"$\"、\"^\"和\"*\"的字符串。
	Description *string `json:"description,omitempty"`
}

func (CreateServiceLinkedAgencyReqBody) String

type CreateServiceLinkedAgencyV5Request

type CreateServiceLinkedAgencyV5Request struct {
	Body *CreateServiceLinkedAgencyReqBody `json:"body,omitempty"`
}

CreateServiceLinkedAgencyV5Request Request Object

func (CreateServiceLinkedAgencyV5Request) String

type CreateServiceLinkedAgencyV5Response

type CreateServiceLinkedAgencyV5Response struct {
	Agency         *Agency `json:"agency,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateServiceLinkedAgencyV5Response Response Object

func (CreateServiceLinkedAgencyV5Response) String

type CreateUserReqBody

type CreateUserReqBody struct {

	// IAM用户名,长度为1到64个字符,只包含字母、数字、\"_\"、\"-\"、\".\"和空格的字符串,且首位不能为数字。
	Name string `json:"name"`

	// IAM用户描述信息,不能包含特定字符\"@\"、\"#\"、\"%\"、\"&\"、\"<\"、\">\"、\"\\\\\"、\"$\"、\"^\"和\"*\"的字符串。
	Description *string `json:"description,omitempty"`

	// IAM用户是否启用。
	Enabled bool `json:"enabled"`
}

CreateUserReqBody The request body of create user request.

func (CreateUserReqBody) String

func (o CreateUserReqBody) String() string

type CreateUserV5Request

type CreateUserV5Request struct {
	Body *CreateUserReqBody `json:"body,omitempty"`
}

CreateUserV5Request Request Object

func (CreateUserV5Request) String

func (o CreateUserV5Request) String() string

type CreateUserV5Response

type CreateUserV5Response struct {
	User           *User `json:"user,omitempty"`
	HttpStatusCode int   `json:"-"`
}

CreateUserV5Response Response Object

func (CreateUserV5Response) String

func (o CreateUserV5Response) String() string

type CreateVirtualMfaDeviceReqBody

type CreateVirtualMfaDeviceReqBody struct {

	// MFA设备名称,长度为1到64个字符,只包含字母、数字、\"_\"和\"-\"的字符串。
	VirtualMfaDeviceName string `json:"virtual_mfa_device_name"`

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`
}

func (CreateVirtualMfaDeviceReqBody) String

type CreateVirtualMfaDeviceV5Request

type CreateVirtualMfaDeviceV5Request struct {
	Body *CreateVirtualMfaDeviceReqBody `json:"body,omitempty"`
}

CreateVirtualMfaDeviceV5Request Request Object

func (CreateVirtualMfaDeviceV5Request) String

type CreateVirtualMfaDeviceV5Response

type CreateVirtualMfaDeviceV5Response struct {
	VirtualMfaDevice *VirtualMfaDevice `json:"virtual_mfa_device,omitempty"`
	HttpStatusCode   int               `json:"-"`
}

CreateVirtualMfaDeviceV5Response Response Object

func (CreateVirtualMfaDeviceV5Response) String

type CurrentCount

type CurrentCount struct {
}

CurrentCount 本页返回条目数量。

func (CurrentCount) String

func (o CurrentCount) String() string

type DeleteAccessKeyV5Request

type DeleteAccessKeyV5Request struct {

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`

	// 永久访问密钥ID,即AK。
	AccessKeyId string `json:"access_key_id"`
}

DeleteAccessKeyV5Request Request Object

func (DeleteAccessKeyV5Request) String

func (o DeleteAccessKeyV5Request) String() string

type DeleteAccessKeyV5Response

type DeleteAccessKeyV5Response struct {
	HttpStatusCode int `json:"-"`
}

DeleteAccessKeyV5Response Response Object

func (DeleteAccessKeyV5Response) String

func (o DeleteAccessKeyV5Response) String() string

type DeleteAgencyV5Request

type DeleteAgencyV5Request struct {

	// 委托或信任委托ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	AgencyId string `json:"agency_id"`
}

DeleteAgencyV5Request Request Object

func (DeleteAgencyV5Request) String

func (o DeleteAgencyV5Request) String() string

type DeleteAgencyV5Response

type DeleteAgencyV5Response struct {
	HttpStatusCode int `json:"-"`
}

DeleteAgencyV5Response Response Object

func (DeleteAgencyV5Response) String

func (o DeleteAgencyV5Response) String() string

type DeleteGroupV5Request

type DeleteGroupV5Request struct {

	// 用户组ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	GroupId string `json:"group_id"`
}

DeleteGroupV5Request Request Object

func (DeleteGroupV5Request) String

func (o DeleteGroupV5Request) String() string

type DeleteGroupV5Response

type DeleteGroupV5Response struct {
	HttpStatusCode int `json:"-"`
}

DeleteGroupV5Response Response Object

func (DeleteGroupV5Response) String

func (o DeleteGroupV5Response) String() string

type DeleteLoginProfileV5Request

type DeleteLoginProfileV5Request struct {

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`
}

DeleteLoginProfileV5Request Request Object

func (DeleteLoginProfileV5Request) String

type DeleteLoginProfileV5Response

type DeleteLoginProfileV5Response struct {
	HttpStatusCode int `json:"-"`
}

DeleteLoginProfileV5Response Response Object

func (DeleteLoginProfileV5Response) String

type DeletePolicyV5Request

type DeletePolicyV5Request struct {

	// 身份策略ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	PolicyId string `json:"policy_id"`
}

DeletePolicyV5Request Request Object

func (DeletePolicyV5Request) String

func (o DeletePolicyV5Request) String() string

type DeletePolicyV5Response

type DeletePolicyV5Response struct {
	HttpStatusCode int `json:"-"`
}

DeletePolicyV5Response Response Object

func (DeletePolicyV5Response) String

func (o DeletePolicyV5Response) String() string

type DeletePolicyVersionV5Request

type DeletePolicyVersionV5Request struct {

	// 身份策略ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	PolicyId string `json:"policy_id"`

	// 身份策略版本号,以\"v\"开头后跟数字的字符串,例如\"v5\"。
	VersionId string `json:"version_id"`
}

DeletePolicyVersionV5Request Request Object

func (DeletePolicyVersionV5Request) String

type DeletePolicyVersionV5Response

type DeletePolicyVersionV5Response struct {
	HttpStatusCode int `json:"-"`
}

DeletePolicyVersionV5Response Response Object

func (DeletePolicyVersionV5Response) String

type DeleteResourceTagsV5Request

type DeleteResourceTagsV5Request struct {

	// 资源ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	ResourceId string `json:"resource_id"`

	// 资源类型,可以为“信任委托”(agency)或“IAM用户”(user)。
	ResourceType DeleteResourceTagsV5RequestResourceType `json:"resource_type"`

	// 待删除的标签键列表。
	Body *[]string `json:"body,omitempty"`
}

DeleteResourceTagsV5Request Request Object

func (DeleteResourceTagsV5Request) String

type DeleteResourceTagsV5RequestResourceType

type DeleteResourceTagsV5RequestResourceType struct {
	// contains filtered or unexported fields
}

func (DeleteResourceTagsV5RequestResourceType) MarshalJSON

func (c DeleteResourceTagsV5RequestResourceType) MarshalJSON() ([]byte, error)

func (*DeleteResourceTagsV5RequestResourceType) UnmarshalJSON

func (c *DeleteResourceTagsV5RequestResourceType) UnmarshalJSON(b []byte) error

func (DeleteResourceTagsV5RequestResourceType) Value

type DeleteResourceTagsV5RequestResourceTypeEnum

type DeleteResourceTagsV5RequestResourceTypeEnum struct {
	AGENCY DeleteResourceTagsV5RequestResourceType
	USER   DeleteResourceTagsV5RequestResourceType
}

func GetDeleteResourceTagsV5RequestResourceTypeEnum

func GetDeleteResourceTagsV5RequestResourceTypeEnum() DeleteResourceTagsV5RequestResourceTypeEnum

type DeleteResourceTagsV5Response

type DeleteResourceTagsV5Response struct {
	HttpStatusCode int `json:"-"`
}

DeleteResourceTagsV5Response Response Object

func (DeleteResourceTagsV5Response) String

type DeleteServiceLinkedAgencyV5Request

type DeleteServiceLinkedAgencyV5Request struct {

	// 委托或信任委托ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	AgencyId string `json:"agency_id"`
}

DeleteServiceLinkedAgencyV5Request Request Object

func (DeleteServiceLinkedAgencyV5Request) String

type DeleteServiceLinkedAgencyV5Response

type DeleteServiceLinkedAgencyV5Response struct {

	// 删除任务ID。
	DeletionTaskId *string `json:"deletion_task_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteServiceLinkedAgencyV5Response Response Object

func (DeleteServiceLinkedAgencyV5Response) String

type DeleteUserV5Request

type DeleteUserV5Request struct {

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`
}

DeleteUserV5Request Request Object

func (DeleteUserV5Request) String

func (o DeleteUserV5Request) String() string

type DeleteUserV5Response

type DeleteUserV5Response struct {
	HttpStatusCode int `json:"-"`
}

DeleteUserV5Response Response Object

func (DeleteUserV5Response) String

func (o DeleteUserV5Response) String() string

type DeleteVirtualMfaDeviceV5Request

type DeleteVirtualMfaDeviceV5Request struct {

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`

	// MFA设备序列号。
	SerialNumber string `json:"serial_number"`
}

DeleteVirtualMfaDeviceV5Request Request Object

func (DeleteVirtualMfaDeviceV5Request) String

type DeleteVirtualMfaDeviceV5Response

type DeleteVirtualMfaDeviceV5Response struct {
	HttpStatusCode int `json:"-"`
}

DeleteVirtualMfaDeviceV5Response Response Object

func (DeleteVirtualMfaDeviceV5Response) String

type DeletionTaskId

type DeletionTaskId struct {
}

DeletionTaskId 删除任务ID。

func (DeletionTaskId) String

func (o DeletionTaskId) String() string

type DeletionTaskStatus

type DeletionTaskStatus struct {
	// contains filtered or unexported fields
}

DeletionTaskStatus 删除任务状态。

func (DeletionTaskStatus) MarshalJSON

func (c DeletionTaskStatus) MarshalJSON() ([]byte, error)

func (*DeletionTaskStatus) UnmarshalJSON

func (c *DeletionTaskStatus) UnmarshalJSON(b []byte) error

func (DeletionTaskStatus) Value

func (c DeletionTaskStatus) Value() string

type DeletionTaskStatusEnum

type DeletionTaskStatusEnum struct {
	SUCCEEDED   DeletionTaskStatus
	IN_PROGRESS DeletionTaskStatus
	FAILED      DeletionTaskStatus
	NOT_STARTED DeletionTaskStatus
}

func GetDeletionTaskStatusEnum

func GetDeletionTaskStatusEnum() DeletionTaskStatusEnum

type Description

type Description struct {

	// 英文描述。
	EnUS string `json:"en_US"`

	// 中文描述。
	ZhCN string `json:"zh_CN"`
}

Description 描述信息。

func (Description) String

func (o Description) String() string

type DetachAgencyPolicyReqBody

type DetachAgencyPolicyReqBody struct {

	// 委托或信任委托ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	AgencyId string `json:"agency_id"`
}

DetachAgencyPolicyReqBody contains information about a urn of a entity

func (DetachAgencyPolicyReqBody) String

func (o DetachAgencyPolicyReqBody) String() string

type DetachAgencyPolicyV5Request

type DetachAgencyPolicyV5Request struct {

	// 身份策略ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	PolicyId string `json:"policy_id"`

	Body *DetachAgencyPolicyReqBody `json:"body,omitempty"`
}

DetachAgencyPolicyV5Request Request Object

func (DetachAgencyPolicyV5Request) String

type DetachAgencyPolicyV5Response

type DetachAgencyPolicyV5Response struct {
	HttpStatusCode int `json:"-"`
}

DetachAgencyPolicyV5Response Response Object

func (DetachAgencyPolicyV5Response) String

type DetachGroupPolicyReqBody

type DetachGroupPolicyReqBody struct {

	// 用户组ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	GroupId string `json:"group_id"`
}

DetachGroupPolicyReqBody contains information about a urn of a entity

func (DetachGroupPolicyReqBody) String

func (o DetachGroupPolicyReqBody) String() string

type DetachGroupPolicyV5Request

type DetachGroupPolicyV5Request struct {

	// 身份策略ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	PolicyId string `json:"policy_id"`

	Body *DetachGroupPolicyReqBody `json:"body,omitempty"`
}

DetachGroupPolicyV5Request Request Object

func (DetachGroupPolicyV5Request) String

type DetachGroupPolicyV5Response

type DetachGroupPolicyV5Response struct {
	HttpStatusCode int `json:"-"`
}

DetachGroupPolicyV5Response Response Object

func (DetachGroupPolicyV5Response) String

type DetachUserPolicyReqBody

type DetachUserPolicyReqBody struct {

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`
}

DetachUserPolicyReqBody contains information about a urn of a entity

func (DetachUserPolicyReqBody) String

func (o DetachUserPolicyReqBody) String() string

type DetachUserPolicyV5Request

type DetachUserPolicyV5Request struct {

	// 身份策略ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	PolicyId string `json:"policy_id"`

	Body *DetachUserPolicyReqBody `json:"body,omitempty"`
}

DetachUserPolicyV5Request Request Object

func (DetachUserPolicyV5Request) String

func (o DetachUserPolicyV5Request) String() string

type DetachUserPolicyV5Response

type DetachUserPolicyV5Response struct {
	HttpStatusCode int `json:"-"`
}

DetachUserPolicyV5Response Response Object

func (DetachUserPolicyV5Response) String

type DisableMfaDeviceReqBody

type DisableMfaDeviceReqBody struct {

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`

	// MFA设备序列号。
	SerialNumber string `json:"serial_number"`
}

func (DisableMfaDeviceReqBody) String

func (o DisableMfaDeviceReqBody) String() string

type DisableMfaDeviceV5Request

type DisableMfaDeviceV5Request struct {
	Body *DisableMfaDeviceReqBody `json:"body,omitempty"`
}

DisableMfaDeviceV5Request Request Object

func (DisableMfaDeviceV5Request) String

func (o DisableMfaDeviceV5Request) String() string

type DisableMfaDeviceV5Response

type DisableMfaDeviceV5Response struct {
	HttpStatusCode int `json:"-"`
}

DisableMfaDeviceV5Response Response Object

func (DisableMfaDeviceV5Response) String

type EnableMfaDeviceReqBody

type EnableMfaDeviceReqBody struct {

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`

	// MFA设备序列号。
	SerialNumber string `json:"serial_number"`

	// 设备发出的验证码。
	AuthenticationCodeFirst string `json:"authentication_code_first"`

	// 设备发出的后续验证码。
	AuthenticationCodeSecond string `json:"authentication_code_second"`
}

func (EnableMfaDeviceReqBody) String

func (o EnableMfaDeviceReqBody) String() string

type EnableMfaDeviceV5Request

type EnableMfaDeviceV5Request struct {
	Body *EnableMfaDeviceReqBody `json:"body,omitempty"`
}

EnableMfaDeviceV5Request Request Object

func (EnableMfaDeviceV5Request) String

func (o EnableMfaDeviceV5Request) String() string

type EnableMfaDeviceV5Response

type EnableMfaDeviceV5Response struct {
	HttpStatusCode int `json:"-"`
}

EnableMfaDeviceV5Response Response Object

func (EnableMfaDeviceV5Response) String

func (o EnableMfaDeviceV5Response) String() string

type GetAccountSummaryV5Request

type GetAccountSummaryV5Request struct {
}

GetAccountSummaryV5Request Request Object

func (GetAccountSummaryV5Request) String

type GetAccountSummaryV5Response

type GetAccountSummaryV5Response struct {

	// 附加到委托或信任委托上的身份策略的最大数量。
	AttachedPoliciesPerAgencyQuota *int32 `json:"attached_policies_per_agency_quota,omitempty"`

	// 附加到用户组上的身份策略的最大数量。
	AttachedPoliciesPerGroupQuota *int32 `json:"attached_policies_per_group_quota,omitempty"`

	// 附加到IAM用户上的身份策略的最大数量。
	AttachedPoliciesPerUserQuota *int32 `json:"attached_policies_per_user_quota,omitempty"`

	// 自定义身份策略的最大数量。
	PoliciesQuota *int32 `json:"policies_quota,omitempty"`

	// 身份策略及信任策略的策略文档的最大字符数,不包括空格。
	PolicySizeQuota *int32 `json:"policy_size_quota,omitempty"`

	// 自定义身份策略同一时刻保留的最大版本数量。
	VersionsPerPolicyQuota *int32 `json:"versions_per_policy_quota,omitempty"`

	// 此账号中当前创建的自定义身份策略数量。
	Policies *int32 `json:"policies,omitempty"`

	// 此账号中当前创建的委托及信任委托的总数量。
	Agencies *int32 `json:"agencies,omitempty"`

	// 此账号能够创建的委托及信任委托的总数上限。
	AgenciesQuota *int32 `json:"agencies_quota,omitempty"`

	// 此账号当前创建的IAM用户数量,包括根用户。
	Users *int32 `json:"users,omitempty"`

	// 此账号能够创建的IAM用户数上限,包括根用户。
	UsersQuota *int32 `json:"users_quota,omitempty"`

	// 此账号当前创建的用户组数量。
	Groups *int32 `json:"groups,omitempty"`

	// 此账号能够创建的用户组数上限。
	GroupsQuota *int32 `json:"groups_quota,omitempty"`

	// 根用户绑定的已启用MFA的数量。
	RootUserMfaEnabled *int32 `json:"root_user_mfa_enabled,omitempty"`
	HttpStatusCode     int    `json:"-"`
}

GetAccountSummaryV5Response Response Object

func (GetAccountSummaryV5Response) String

type GetAgencyV5Request

type GetAgencyV5Request struct {

	// 委托或信任委托ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	AgencyId string `json:"agency_id"`
}

GetAgencyV5Request Request Object

func (GetAgencyV5Request) String

func (o GetAgencyV5Request) String() string

type GetAgencyV5Response

type GetAgencyV5Response struct {
	Agency         *AgencyEx `json:"agency,omitempty"`
	HttpStatusCode int       `json:"-"`
}

GetAgencyV5Response Response Object

func (GetAgencyV5Response) String

func (o GetAgencyV5Response) String() string

type GetAsymmetricSignatureSwitchV5Request

type GetAsymmetricSignatureSwitchV5Request struct {
}

GetAsymmetricSignatureSwitchV5Request Request Object

func (GetAsymmetricSignatureSwitchV5Request) String

type GetAsymmetricSignatureSwitchV5Response

type GetAsymmetricSignatureSwitchV5Response struct {
	AsymmetricSignature *AsymmetricSignatureWithDomainId `json:"asymmetric_signature,omitempty"`
	HttpStatusCode      int                              `json:"-"`
}

GetAsymmetricSignatureSwitchV5Response Response Object

func (GetAsymmetricSignatureSwitchV5Response) String

type GetAuthorizationSchemaV5Request

type GetAuthorizationSchemaV5Request struct {

	// 服务名称缩写,长度为1到56个字符,只包含字母、数字和\"-\"的字符串。
	ServiceCode string `json:"service_code"`
}

GetAuthorizationSchemaV5Request Request Object

func (GetAuthorizationSchemaV5Request) String

type GetAuthorizationSchemaV5Response

type GetAuthorizationSchemaV5Response struct {

	// 服务授权概要的版本号。
	Version *string `json:"version,omitempty"`

	// 云服务支持的授权项列表。
	Actions *[]Action `json:"actions,omitempty"`

	// 云服务支持的资源列表。
	Resources *[]Resource `json:"resources,omitempty"`

	// 云服务支持的条件键列表。
	Conditions *[]Condition `json:"conditions,omitempty"`

	// 云服务支持的操作列表。
	Operations     *[]Operation `json:"operations,omitempty"`
	HttpStatusCode int          `json:"-"`
}

GetAuthorizationSchemaV5Response Response Object

func (GetAuthorizationSchemaV5Response) String

type GetPolicyV5Request

type GetPolicyV5Request struct {

	// 身份策略ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	PolicyId string `json:"policy_id"`

	// 选择接口返回的信息的语言,可以为中文(\"zh-cn\")或英文(\"en-us\"),默认为中文。
	XLanguage *GetPolicyV5RequestXLanguage `json:"X-Language,omitempty"`
}

GetPolicyV5Request Request Object

func (GetPolicyV5Request) String

func (o GetPolicyV5Request) String() string

type GetPolicyV5RequestXLanguage

type GetPolicyV5RequestXLanguage struct {
	// contains filtered or unexported fields
}

func (GetPolicyV5RequestXLanguage) MarshalJSON

func (c GetPolicyV5RequestXLanguage) MarshalJSON() ([]byte, error)

func (*GetPolicyV5RequestXLanguage) UnmarshalJSON

func (c *GetPolicyV5RequestXLanguage) UnmarshalJSON(b []byte) error

func (GetPolicyV5RequestXLanguage) Value

type GetPolicyV5RequestXLanguageEnum

type GetPolicyV5RequestXLanguageEnum struct {
	ZH_CN GetPolicyV5RequestXLanguage
	EN_US GetPolicyV5RequestXLanguage
}

func GetGetPolicyV5RequestXLanguageEnum

func GetGetPolicyV5RequestXLanguageEnum() GetPolicyV5RequestXLanguageEnum

type GetPolicyV5Response

type GetPolicyV5Response struct {
	Policy         *Policy `json:"policy,omitempty"`
	HttpStatusCode int     `json:"-"`
}

GetPolicyV5Response Response Object

func (GetPolicyV5Response) String

func (o GetPolicyV5Response) String() string

type GetPolicyVersionV5Request

type GetPolicyVersionV5Request struct {

	// 身份策略ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	PolicyId string `json:"policy_id"`

	// 身份策略版本号,以\"v\"开头后跟数字的字符串,例如\"v5\"。
	VersionId string `json:"version_id"`
}

GetPolicyVersionV5Request Request Object

func (GetPolicyVersionV5Request) String

func (o GetPolicyVersionV5Request) String() string

type GetPolicyVersionV5Response

type GetPolicyVersionV5Response struct {
	PolicyVersion  *PolicyVersion `json:"policy_version,omitempty"`
	HttpStatusCode int            `json:"-"`
}

GetPolicyVersionV5Response Response Object

func (GetPolicyVersionV5Response) String

type GetServiceLinkedAgencyDeletionStatusV5Request

type GetServiceLinkedAgencyDeletionStatusV5Request struct {

	// 删除任务ID。
	DeletionTaskId string `json:"deletion_task_id"`
}

GetServiceLinkedAgencyDeletionStatusV5Request Request Object

func (GetServiceLinkedAgencyDeletionStatusV5Request) String

type GetServiceLinkedAgencyDeletionStatusV5Response

type GetServiceLinkedAgencyDeletionStatusV5Response struct {
	Status *DeletionTaskStatus `json:"status,omitempty"`

	// 删除失败的原因。
	Reason *string `json:"reason,omitempty"`

	// 该服务关联委托正在被使用的场景列表。
	AgencyUsageList *[]AgencyUsage `json:"agency_usage_list,omitempty"`
	HttpStatusCode  int            `json:"-"`
}

GetServiceLinkedAgencyDeletionStatusV5Response Response Object

func (GetServiceLinkedAgencyDeletionStatusV5Response) String

type Group

type Group struct {

	// 用户组ID。
	GroupId string `json:"group_id"`

	// 用户组名,可包含中文、英文、数字、空格、\"_\"、\"-\"、\"{\"和\"}\"的字符串。
	GroupName string `json:"group_name"`

	// 用户组创建时间。
	CreatedAt *sdktime.SdkTime `json:"created_at"`

	// 统一资源名称。
	Urn string `json:"urn"`

	// 用户组描述信息,不能包含特定字符\"@\"、\"#\"、\"%\"、\"&\"、\"<\"、\">\"、\"\\\\\"、\"$\"、\"^\"和\"*\"的字符串。
	Description *string `json:"description,omitempty"`
}

Group 用户组。

func (Group) String

func (o Group) String() string

type GroupDescription

type GroupDescription struct {
}

GroupDescription 用户组描述信息,不能包含特定字符\"@\"、\"#\"、\"%\"、\"&\"、\"<\"、\">\"、\"\\\\\"、\"$\"、\"^\"和\"*\"的字符串。

func (GroupDescription) String

func (o GroupDescription) String() string

type GroupId

type GroupId struct {
}

GroupId 用户组ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。

func (GroupId) String

func (o GroupId) String() string

type GroupName

type GroupName struct {
}

GroupName 用户组名,可包含中文、英文、数字、空格、\"_\"、\"-\"、\"{\"和\"}\"的字符串。

func (GroupName) String

func (o GroupName) String() string

type Key

type Key struct {
}

Key 待删除的标签键。

func (Key) String

func (o Key) String() string

type ListAccessKeysV5Request

type ListAccessKeysV5Request struct {

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`

	// 每页显示的条目数量。
	Limit *int32 `json:"limit,omitempty"`

	// 分页标记,长度为4到400个字符,只包含字母、数字、\"+\"、\"/\"、\"=\"、\"-\"和\"_\"的字符串。
	Marker *string `json:"marker,omitempty"`
}

ListAccessKeysV5Request Request Object

func (ListAccessKeysV5Request) String

func (o ListAccessKeysV5Request) String() string

type ListAccessKeysV5Response

type ListAccessKeysV5Response struct {

	// 永久访问密钥列表。
	AccessKeys *[]AccessKeyMetadata `json:"access_keys,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListAccessKeysV5Response Response Object

func (ListAccessKeysV5Response) String

func (o ListAccessKeysV5Response) String() string

type ListAgenciesV5Request

type ListAgenciesV5Request struct {

	// 每页显示的条目数量。
	Limit *int32 `json:"limit,omitempty"`

	// 分页标记,长度为4到400个字符,只包含字母、数字、\"+\"、\"/\"、\"=\"、\"-\"和\"_\"的字符串。
	Marker *string `json:"marker,omitempty"`

	// 资源路径前缀,由若干段字符串拼接而成,每段先包含一个或多个字母、数字、\".\"、\",\"、\"+\"、\"@\"、\"=\"、\"_\"或\"-\",并以\"/\"结尾,例如\"foo/bar/\"。
	PathPrefix *string `json:"path_prefix,omitempty"`
}

ListAgenciesV5Request Request Object

func (ListAgenciesV5Request) String

func (o ListAgenciesV5Request) String() string

type ListAgenciesV5Response

type ListAgenciesV5Response struct {

	// 委托及信任委托列表。
	Agencies *[]Agency `json:"agencies,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListAgenciesV5Response Response Object

func (ListAgenciesV5Response) String

func (o ListAgenciesV5Response) String() string

type ListAttachedAgencyPoliciesV5Request

type ListAttachedAgencyPoliciesV5Request struct {

	// 委托或信任委托ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	AgencyId string `json:"agency_id"`

	// 每页显示的条目数量。
	Limit *int32 `json:"limit,omitempty"`

	// 分页标记,长度为4到400个字符,只包含字母、数字、\"+\"、\"/\"、\"=\"、\"-\"和\"_\"的字符串。
	Marker *string `json:"marker,omitempty"`
}

ListAttachedAgencyPoliciesV5Request Request Object

func (ListAttachedAgencyPoliciesV5Request) String

type ListAttachedAgencyPoliciesV5Response

type ListAttachedAgencyPoliciesV5Response struct {

	// 身份策略列表。
	AttachedPolicies *[]AttachedPolicy `json:"attached_policies,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListAttachedAgencyPoliciesV5Response Response Object

func (ListAttachedAgencyPoliciesV5Response) String

type ListAttachedGroupPoliciesV5Request

type ListAttachedGroupPoliciesV5Request struct {

	// 用户组ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	GroupId string `json:"group_id"`

	// 每页显示的条目数量。
	Limit *int32 `json:"limit,omitempty"`

	// 分页标记,长度为4到400个字符,只包含字母、数字、\"+\"、\"/\"、\"=\"、\"-\"和\"_\"的字符串。
	Marker *string `json:"marker,omitempty"`
}

ListAttachedGroupPoliciesV5Request Request Object

func (ListAttachedGroupPoliciesV5Request) String

type ListAttachedGroupPoliciesV5Response

type ListAttachedGroupPoliciesV5Response struct {

	// 身份策略列表。
	AttachedPolicies *[]AttachedPolicy `json:"attached_policies,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListAttachedGroupPoliciesV5Response Response Object

func (ListAttachedGroupPoliciesV5Response) String

type ListAttachedUserPoliciesV5Request

type ListAttachedUserPoliciesV5Request struct {

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`

	// 每页显示的条目数量。
	Limit *int32 `json:"limit,omitempty"`

	// 分页标记,长度为4到400个字符,只包含字母、数字、\"+\"、\"/\"、\"=\"、\"-\"和\"_\"的字符串。
	Marker *string `json:"marker,omitempty"`
}

ListAttachedUserPoliciesV5Request Request Object

func (ListAttachedUserPoliciesV5Request) String

type ListAttachedUserPoliciesV5Response

type ListAttachedUserPoliciesV5Response struct {

	// 身份策略列表。
	AttachedPolicies *[]AttachedPolicy `json:"attached_policies,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListAttachedUserPoliciesV5Response Response Object

func (ListAttachedUserPoliciesV5Response) String

type ListEntitiesForPolicyV5Request

type ListEntitiesForPolicyV5Request struct {

	// 身份策略ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	PolicyId string `json:"policy_id"`

	// 实体类型。
	EntityType *ListEntitiesForPolicyV5RequestEntityType `json:"entity_type,omitempty"`

	// 每页显示的条目数量。
	Limit *int32 `json:"limit,omitempty"`

	// 分页标记,长度为4到400个字符,只包含字母、数字、\"+\"、\"/\"、\"=\"、\"-\"和\"_\"的字符串。
	Marker *string `json:"marker,omitempty"`
}

ListEntitiesForPolicyV5Request Request Object

func (ListEntitiesForPolicyV5Request) String

type ListEntitiesForPolicyV5RequestEntityType

type ListEntitiesForPolicyV5RequestEntityType struct {
	// contains filtered or unexported fields
}

func (ListEntitiesForPolicyV5RequestEntityType) MarshalJSON

func (*ListEntitiesForPolicyV5RequestEntityType) UnmarshalJSON

func (c *ListEntitiesForPolicyV5RequestEntityType) UnmarshalJSON(b []byte) error

func (ListEntitiesForPolicyV5RequestEntityType) Value

type ListEntitiesForPolicyV5Response

type ListEntitiesForPolicyV5Response struct {

	// 委托及信任委托列表。
	PolicyAgencies *[]PolicyAgency `json:"policy_agencies,omitempty"`

	// 用户组列表。
	PolicyGroups *[]PolicyGroup `json:"policy_groups,omitempty"`

	// IAM用户列表。
	PolicyUsers *[]PolicyUser `json:"policy_users,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListEntitiesForPolicyV5Response Response Object

func (ListEntitiesForPolicyV5Response) String

type ListGroupsV5Request

type ListGroupsV5Request struct {

	// 每页显示的条目数量。
	Limit *int32 `json:"limit,omitempty"`

	// 分页标记,长度为4到400个字符,只包含字母、数字、\"+\"、\"/\"、\"=\"、\"-\"和\"_\"的字符串。
	Marker *string `json:"marker,omitempty"`

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId *string `json:"user_id,omitempty"`
}

ListGroupsV5Request Request Object

func (ListGroupsV5Request) String

func (o ListGroupsV5Request) String() string

type ListGroupsV5Response

type ListGroupsV5Response struct {

	// 用户组列表。
	Groups *[]Group `json:"groups,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListGroupsV5Response Response Object

func (ListGroupsV5Response) String

func (o ListGroupsV5Response) String() string

type ListMfaDevicesV5Request

type ListMfaDevicesV5Request struct {

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId *string `json:"user_id,omitempty"`

	// 每页显示的条目数量。
	Limit *int32 `json:"limit,omitempty"`

	// 分页标记,长度为4到400个字符,只包含字母、数字、\"+\"、\"/\"、\"=\"、\"-\"和\"_\"的字符串。
	Marker *string `json:"marker,omitempty"`
}

ListMfaDevicesV5Request Request Object

func (ListMfaDevicesV5Request) String

func (o ListMfaDevicesV5Request) String() string

type ListMfaDevicesV5Response

type ListMfaDevicesV5Response struct {

	// 虚拟MFA设备列表。
	MfaDevices *[]MfaDeviceMetadata `json:"mfa_devices,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListMfaDevicesV5Response Response Object

func (ListMfaDevicesV5Response) String

func (o ListMfaDevicesV5Response) String() string

type ListPoliciesV5Request

type ListPoliciesV5Request struct {

	// 每页显示的条目数量。
	Limit *int32 `json:"limit,omitempty"`

	// 分页标记,长度为4到400个字符,只包含字母、数字、\"+\"、\"/\"、\"=\"、\"-\"和\"_\"的字符串。
	Marker *string `json:"marker,omitempty"`

	// 身份策略类型,可以为“自定义”(custom)或“系统预置”(system)。
	PolicyType *ListPoliciesV5RequestPolicyType `json:"policy_type,omitempty"`

	// 资源路径前缀,由若干段字符串拼接而成,每段先包含一个或多个字母、数字、\".\"、\",\"、\"+\"、\"@\"、\"=\"、\"_\"或\"-\",并以\"/\"结尾,例如\"foo/bar/\"。
	PathPrefix *string `json:"path_prefix,omitempty"`

	// 是否仅列举存在附加实体的身份策略。
	OnlyAttached *bool `json:"only_attached,omitempty"`

	// 选择接口返回的信息的语言,可以为中文(\"zh-cn\")或英文(\"en-us\"),默认为中文。
	XLanguage *ListPoliciesV5RequestXLanguage `json:"X-Language,omitempty"`
}

ListPoliciesV5Request Request Object

func (ListPoliciesV5Request) String

func (o ListPoliciesV5Request) String() string

type ListPoliciesV5RequestPolicyType

type ListPoliciesV5RequestPolicyType struct {
	// contains filtered or unexported fields
}

func (ListPoliciesV5RequestPolicyType) MarshalJSON

func (c ListPoliciesV5RequestPolicyType) MarshalJSON() ([]byte, error)

func (*ListPoliciesV5RequestPolicyType) UnmarshalJSON

func (c *ListPoliciesV5RequestPolicyType) UnmarshalJSON(b []byte) error

func (ListPoliciesV5RequestPolicyType) Value

type ListPoliciesV5RequestPolicyTypeEnum

type ListPoliciesV5RequestPolicyTypeEnum struct {
	CUSTOM ListPoliciesV5RequestPolicyType
	SYSTEM ListPoliciesV5RequestPolicyType
}

func GetListPoliciesV5RequestPolicyTypeEnum

func GetListPoliciesV5RequestPolicyTypeEnum() ListPoliciesV5RequestPolicyTypeEnum

type ListPoliciesV5RequestXLanguage

type ListPoliciesV5RequestXLanguage struct {
	// contains filtered or unexported fields
}

func (ListPoliciesV5RequestXLanguage) MarshalJSON

func (c ListPoliciesV5RequestXLanguage) MarshalJSON() ([]byte, error)

func (*ListPoliciesV5RequestXLanguage) UnmarshalJSON

func (c *ListPoliciesV5RequestXLanguage) UnmarshalJSON(b []byte) error

func (ListPoliciesV5RequestXLanguage) Value

type ListPoliciesV5RequestXLanguageEnum

type ListPoliciesV5RequestXLanguageEnum struct {
	ZH_CN ListPoliciesV5RequestXLanguage
	EN_US ListPoliciesV5RequestXLanguage
}

func GetListPoliciesV5RequestXLanguageEnum

func GetListPoliciesV5RequestXLanguageEnum() ListPoliciesV5RequestXLanguageEnum

type ListPoliciesV5Response

type ListPoliciesV5Response struct {

	// 身份策略列表。
	Policies *[]Policy `json:"policies,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListPoliciesV5Response Response Object

func (ListPoliciesV5Response) String

func (o ListPoliciesV5Response) String() string

type ListPolicyVersionsV5Request

type ListPolicyVersionsV5Request struct {

	// 身份策略ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	PolicyId string `json:"policy_id"`

	// 每页显示的条目数量。
	Limit *int32 `json:"limit,omitempty"`

	// 分页标记,长度为4到400个字符,只包含字母、数字、\"+\"、\"/\"、\"=\"、\"-\"和\"_\"的字符串。
	Marker *string `json:"marker,omitempty"`
}

ListPolicyVersionsV5Request Request Object

func (ListPolicyVersionsV5Request) String

type ListPolicyVersionsV5Response

type ListPolicyVersionsV5Response struct {

	// 身份策略版本列表。
	Versions *[]PolicyVersion `json:"versions,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListPolicyVersionsV5Response Response Object

func (ListPolicyVersionsV5Response) String

type ListRegisteredServicesForAuthSchemaV5Request

type ListRegisteredServicesForAuthSchemaV5Request struct {

	// 每页显示的条目数量。
	Limit *int32 `json:"limit,omitempty"`

	// 分页标记,长度为4到400个字符,只包含字母、数字、\"+\"、\"/\"、\"=\"、\"-\"和\"_\"的字符串。
	Marker *string `json:"marker,omitempty"`
}

ListRegisteredServicesForAuthSchemaV5Request Request Object

func (ListRegisteredServicesForAuthSchemaV5Request) String

type ListRegisteredServicesForAuthSchemaV5Response

type ListRegisteredServicesForAuthSchemaV5Response struct {

	// 服务名称缩写列表。
	ServiceCodes *[]string `json:"service_codes,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListRegisteredServicesForAuthSchemaV5Response Response Object

func (ListRegisteredServicesForAuthSchemaV5Response) String

type ListResourceTagsV5Request

type ListResourceTagsV5Request struct {

	// 资源ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	ResourceId string `json:"resource_id"`

	// 资源类型,可以为“信任委托”(agency)或“IAM用户”(user)。
	ResourceType ListResourceTagsV5RequestResourceType `json:"resource_type"`
}

ListResourceTagsV5Request Request Object

func (ListResourceTagsV5Request) String

func (o ListResourceTagsV5Request) String() string

type ListResourceTagsV5RequestResourceType

type ListResourceTagsV5RequestResourceType struct {
	// contains filtered or unexported fields
}

func (ListResourceTagsV5RequestResourceType) MarshalJSON

func (c ListResourceTagsV5RequestResourceType) MarshalJSON() ([]byte, error)

func (*ListResourceTagsV5RequestResourceType) UnmarshalJSON

func (c *ListResourceTagsV5RequestResourceType) UnmarshalJSON(b []byte) error

func (ListResourceTagsV5RequestResourceType) Value

type ListResourceTagsV5RequestResourceTypeEnum

type ListResourceTagsV5RequestResourceTypeEnum struct {
	AGENCY ListResourceTagsV5RequestResourceType
	USER   ListResourceTagsV5RequestResourceType
}

func GetListResourceTagsV5RequestResourceTypeEnum

func GetListResourceTagsV5RequestResourceTypeEnum() ListResourceTagsV5RequestResourceTypeEnum

type ListResourceTagsV5Response

type ListResourceTagsV5Response struct {

	// 自定义标签列表。
	Tags           *[]Tag `json:"tags,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListResourceTagsV5Response Response Object

func (ListResourceTagsV5Response) String

type ListServicePrincipalsV5Request

type ListServicePrincipalsV5Request struct {

	// 每页显示的条目数量。
	Limit *int32 `json:"limit,omitempty"`

	// 分页标记,长度为4到400个字符,只包含字母、数字、\"+\"、\"/\"、\"=\"、\"-\"和\"_\"的字符串。
	Marker *string `json:"marker,omitempty"`

	// 选择接口返回的信息的语言,可以为中文(\"zh-cn\")或英文(\"en-us\"),默认为中文。
	XLanguage *ListServicePrincipalsV5RequestXLanguage `json:"X-Language,omitempty"`
}

ListServicePrincipalsV5Request Request Object

func (ListServicePrincipalsV5Request) String

type ListServicePrincipalsV5RequestXLanguage

type ListServicePrincipalsV5RequestXLanguage struct {
	// contains filtered or unexported fields
}

func (ListServicePrincipalsV5RequestXLanguage) MarshalJSON

func (c ListServicePrincipalsV5RequestXLanguage) MarshalJSON() ([]byte, error)

func (*ListServicePrincipalsV5RequestXLanguage) UnmarshalJSON

func (c *ListServicePrincipalsV5RequestXLanguage) UnmarshalJSON(b []byte) error

func (ListServicePrincipalsV5RequestXLanguage) Value

type ListServicePrincipalsV5RequestXLanguageEnum

type ListServicePrincipalsV5RequestXLanguageEnum struct {
	ZH_CN ListServicePrincipalsV5RequestXLanguage
	EN_US ListServicePrincipalsV5RequestXLanguage
}

func GetListServicePrincipalsV5RequestXLanguageEnum

func GetListServicePrincipalsV5RequestXLanguageEnum() ListServicePrincipalsV5RequestXLanguageEnum

type ListServicePrincipalsV5Response

type ListServicePrincipalsV5Response struct {

	// 服务主体列表。
	ServicePrincipals *[]ServicePrincipalMetadata `json:"service_principals,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListServicePrincipalsV5Response Response Object

func (ListServicePrincipalsV5Response) String

type ListUsersV5Request

type ListUsersV5Request struct {

	// 每页显示的条目数量。
	Limit *int32 `json:"limit,omitempty"`

	// 分页标记,长度为4到400个字符,只包含字母、数字、\"+\"、\"/\"、\"=\"、\"-\"和\"_\"的字符串。
	Marker *string `json:"marker,omitempty"`

	// 用户组ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	GroupId *string `json:"group_id,omitempty"`
}

ListUsersV5Request Request Object

func (ListUsersV5Request) String

func (o ListUsersV5Request) String() string

type ListUsersV5Response

type ListUsersV5Response struct {

	// IAM用户列表。
	Users *[]User `json:"users,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListUsersV5Response Response Object

func (ListUsersV5Response) String

func (o ListUsersV5Response) String() string

type LoginPolicy

type LoginPolicy struct {

	// 如果IAM用户在该值设置的有效期(天)内未登录,则被停用,不适用于根用户。
	UserValidityPeriod int32 `json:"user_validity_period"`

	// 登录提示信息。
	CustomInfoForLogin string `json:"custom_info_for_login"`

	// IAM用户登录锁定时长(分钟)。
	LockoutDuration int32 `json:"lockout_duration"`

	// 限定时间内登录失败次数。
	LoginFailedTimes int32 `json:"login_failed_times"`

	// 限定时间长度(分钟)。
	PeriodWithLoginFailures int32 `json:"period_with_login_failures"`

	// 登录会话失效时间。
	SessionTimeout int32 `json:"session_timeout"`

	// 是否显示最近一次的登录信息。
	ShowRecentLoginInfo bool `json:"show_recent_login_info"`

	// 允许访问的IP地址或网段。
	AllowAddressNetmasks *[]AllowAddressNetmask `json:"allow_address_netmasks,omitempty"`

	// 允许访问的IP地址区间。
	AllowIpRanges *[]AllowIpRange `json:"allow_ip_ranges,omitempty"`
}

LoginPolicy 登录策略。

func (LoginPolicy) String

func (o LoginPolicy) String() string

type LoginProfile

type LoginProfile struct {

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`

	// IAM用户下次登录时是否需要修改密码。
	PasswordResetRequired bool `json:"password_reset_required"`

	// IAM用户密码过期时间。
	PasswordExpiresAt *sdktime.SdkTime `json:"password_expires_at,omitempty"`

	// IAM用户登录信息创建时间。
	CreatedAt *sdktime.SdkTime `json:"created_at"`
}

LoginProfile IAM用户登录信息。

func (LoginProfile) String

func (o LoginProfile) String() string

type MaxSessionDuration

type MaxSessionDuration struct {
}

MaxSessionDuration 委托或信任委托最大会话时长,默认为3600秒。

func (MaxSessionDuration) String

func (o MaxSessionDuration) String() string

type MfaDeviceMetadata

type MfaDeviceMetadata struct {

	// MFA设备序列号。
	SerialNumber string `json:"serial_number"`

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`

	// 虚拟MFA设备是否开启。
	Enabled bool `json:"enabled"`
}

MfaDeviceMetadata 虚拟MFA设备。

func (MfaDeviceMetadata) String

func (o MfaDeviceMetadata) String() string

type MfaEnabled

type MfaEnabled struct {
}

MfaEnabled 虚拟MFA设备是否开启。

func (MfaEnabled) String

func (o MfaEnabled) String() string

type NextMarker

type NextMarker struct {
}

NextMarker 如果存在,则表示还有后续的条目未显示在当前返回体中。请使用该值作为下一次请求的分页标记参数以获得下一页信息。请反复调用该接口直至该字段不存在。

func (NextMarker) String

func (o NextMarker) String() string

type Operation

type Operation struct {

	// OpenAPI的操作标识符。
	OperationId string `json:"operation_id"`

	// 三段式的授权项名称,例如\"iam:policies:createV5\"。
	OperationAction string `json:"operation_action"`

	// 该操作可能需要的其他授权项授权。
	DependentActions *[]string `json:"dependent_actions,omitempty"`
}

Operation 操作。

func (Operation) String

func (o Operation) String() string

type PageInfo

type PageInfo struct {

	// 如果存在,则表示还有后续的条目未显示在当前返回体中。请使用该值作为下一次请求的分页标记参数以获得下一页信息。请反复调用该接口直至该字段不存在。
	NextMarker *string `json:"next_marker,omitempty"`

	// 本页返回条目数量。
	CurrentCount int32 `json:"current_count"`
}

PageInfo 分页信息。

func (PageInfo) String

func (o PageInfo) String() string

type PasswordPolicy

type PasswordPolicy struct {

	// 同一字符连续出现的最大次数。
	MaximumConsecutiveIdenticalChars int32 `json:"maximum_consecutive_identical_chars"`

	// 密码最大字符数。
	MaximumPasswordLength int32 `json:"maximum_password_length"`

	// 密码最短使用时间(分钟)。
	MinimumPasswordAge int32 `json:"minimum_password_age"`

	// 密码最小字符数。
	MinimumPasswordLength int32 `json:"minimum_password_length"`

	// 密码不能与历史密码重复次数。
	PasswordReusePrevention int32 `json:"password_reuse_prevention"`

	// 密码是否可以是用户名或用户名的反序。
	PasswordNotUsernameOrInvert bool `json:"password_not_username_or_invert"`

	// 设置密码必须包含的字符要求。
	PasswordRequirements string `json:"password_requirements"`

	// 密码有效期(天)。
	PasswordValidityPeriod int32 `json:"password_validity_period"`

	// 至少包含字符种类的个数。
	PasswordCharCombination int32 `json:"password_char_combination"`

	// 是否允许IAM用户修改自己的密码,不适用于根用户。
	AllowUserToChangePassword bool `json:"allow_user_to_change_password"`
}

PasswordPolicy 密码策略。

func (PasswordPolicy) String

func (o PasswordPolicy) String() string

type PasswordResetRequired

type PasswordResetRequired struct {
}

PasswordResetRequired IAM用户下次登录时是否需要修改密码。

func (PasswordResetRequired) String

func (o PasswordResetRequired) String() string

type Path

type Path struct {
}

Path 资源路径,默认为空串。由若干段字符串拼接而成,每段先包含一个或多个字母、数字、\".\"、\",\"、\"+\"、\"@\"、\"=\"、\"_\"或\"-\",并以\"/\"结尾,例如\"foo/bar/\"。

func (Path) String

func (o Path) String() string

type Policy

type Policy struct {
	PolicyType *PolicyType `json:"policy_type"`

	// 身份策略名称,长度为1到128个字符,只包含字母、数字、\"_\"、\"+\"、\"=\"、\".\"、\"@\"和\"-\"的字符串。
	PolicyName string `json:"policy_name"`

	// 身份策略ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	PolicyId string `json:"policy_id"`

	// 统一资源名称。
	Urn string `json:"urn"`

	// 资源路径,默认为空串。由若干段字符串拼接而成,每段先包含一个或多个字母、数字、\".\"、\",\"、\"+\"、\"@\"、\"=\"、\"_\"或\"-\",并以\"/\"结尾,例如\"foo/bar/\"。
	Path string `json:"path"`

	// 默认版本号。
	DefaultVersionId string `json:"default_version_id"`

	// 附加了本身份策略的实体数量。
	AttachmentCount int32 `json:"attachment_count"`

	// 身份策略描述。
	Description *string `json:"description,omitempty"`

	// 身份策略创建时间。
	CreatedAt *sdktime.SdkTime `json:"created_at"`

	// 身份策略默认版本最近一次的更新时间。
	UpdatedAt *sdktime.SdkTime `json:"updated_at"`
}

Policy 身份策略。

func (Policy) String

func (o Policy) String() string

type PolicyAgency

type PolicyAgency struct {

	// 委托或信任委托ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	AgencyId string `json:"agency_id"`

	// 身份策略的附加时间。
	AttachedAt *sdktime.SdkTime `json:"attached_at"`
}

func (PolicyAgency) String

func (o PolicyAgency) String() string

type PolicyDescription

type PolicyDescription struct {
}

PolicyDescription 身份策略描述。

func (PolicyDescription) String

func (o PolicyDescription) String() string

type PolicyDocument

type PolicyDocument struct {
}

PolicyDocument 自定义身份策略或系统预置身份策略的策略文档的json格式。下面的字符`= < > ( ) |`是语法中的特殊字符,不包含在身份策略中。 问号`?`表示元素是可选的。例如`sid_block?`。 竖线`|`表示可选项,括号定义了可选项的范围。例如`(\"Allow\" | \"Deny\")`。 当一个元素允许多个值时,使用重复值、`,`以及`...`表示。例如`[ <policy_statement>, <policy_statement>, ... ]`。 下面的递归文法描述了身份策略的语法: ``` policy = { <version_block>, <statement_block> } <version_block> = \"Version\" : (\"5.0\") <statement_block> = \"Statement\" : [ <policy_statement>, <policy_statement>, ... ] <policy_statement> = { <sid_block?>, <effect_block>, <action_block>, <resource_block?>, <condition_block?> } <sid_block> = \"Sid\" : <sid_string> <effect_block> = \"Effect\" : (\"Allow\" | \"Deny\") <action_block> = (\"Action\" | \"NotAction\") : [ <action_string>, <action_string>, ... ] <resource_block> = (\"Resource\" | \"NotResource\") : [ <resource_string>, <resource_string>, ... ] <condition_block> = \"Condition\" : { <condition_map> } <condition_map> = { <condition_type_string> : { <condition_key_string> : <condition_value_list> }, <condition_type_string> : { <condition_key_string> : <condition_value_list> }, ... } <condition_value_list> = ( <condition_value> | [ <condition_value>, <condition_value>, ... ] ) <condition_value> = \"string\" ```

func (PolicyDocument) String

func (o PolicyDocument) String() string

type PolicyGroup

type PolicyGroup struct {

	// 用户组ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	GroupId string `json:"group_id"`

	// 身份策略的附加时间。
	AttachedAt *sdktime.SdkTime `json:"attached_at"`
}

func (PolicyGroup) String

func (o PolicyGroup) String() string

type PolicyId

type PolicyId struct {
}

PolicyId 身份策略ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。

func (PolicyId) String

func (o PolicyId) String() string

type PolicyName

type PolicyName struct {
}

PolicyName 身份策略名称,长度为1到128个字符,只包含字母、数字、\"_\"、\"+\"、\"=\"、\".\"、\"@\"和\"-\"的字符串。

func (PolicyName) String

func (o PolicyName) String() string

type PolicyType

type PolicyType struct {
	// contains filtered or unexported fields
}

PolicyType 身份策略类型,可以为“自定义”(custom)或“系统预置”(system)。

func (PolicyType) MarshalJSON

func (c PolicyType) MarshalJSON() ([]byte, error)

func (*PolicyType) UnmarshalJSON

func (c *PolicyType) UnmarshalJSON(b []byte) error

func (PolicyType) Value

func (c PolicyType) Value() string

type PolicyTypeEnum

type PolicyTypeEnum struct {
	CUSTOM PolicyType
	SYSTEM PolicyType
}

func GetPolicyTypeEnum

func GetPolicyTypeEnum() PolicyTypeEnum

type PolicyUser

type PolicyUser struct {

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`

	// 身份策略的附加时间。
	AttachedAt *sdktime.SdkTime `json:"attached_at"`
}

func (PolicyUser) String

func (o PolicyUser) String() string

type PolicyVersion

type PolicyVersion struct {

	// 自定义身份策略或系统预置身份策略的策略文档的json格式。下面的字符`= < > ( ) |`是语法中的特殊字符,不包含在身份策略中。  问号`?`表示元素是可选的。例如`sid_block?`。  竖线`|`表示可选项,括号定义了可选项的范围。例如`(\"Allow\" | \"Deny\")`。  当一个元素允许多个值时,使用重复值、`,`以及`...`表示。例如`[ <policy_statement>, <policy_statement>, ... ]`。  下面的递归文法描述了身份策略的语法: “` policy = {   <version_block>,   <statement_block> }  <version_block> = \"Version\" : (\"5.0\")  <statement_block> = \"Statement\" : [ <policy_statement>, <policy_statement>, ... ]  <policy_statement> = {   <sid_block?>,   <effect_block>,   <action_block>,   <resource_block?>,   <condition_block?> }  <sid_block> = \"Sid\" : <sid_string>  <effect_block> = \"Effect\" : (\"Allow\" | \"Deny\")  <action_block> = (\"Action\" | \"NotAction\") : [ <action_string>, <action_string>, ... ]  <resource_block> = (\"Resource\" | \"NotResource\") : [ <resource_string>, <resource_string>, ... ]  <condition_block> = \"Condition\" : { <condition_map> }  <condition_map> = {   <condition_type_string> : { <condition_key_string> : <condition_value_list> },   <condition_type_string> : { <condition_key_string> : <condition_value_list> },   ... }  <condition_value_list> = ( <condition_value> | [ <condition_value>, <condition_value>, ... ] )  <condition_value> = \"string\" “`
	Document string `json:"document"`

	// 身份策略版本号,以\"v\"开头后跟数字,例如\"v5\"。
	VersionId string `json:"version_id"`

	// 是否为默认版本。
	IsDefault bool `json:"is_default"`

	// 身份策略版本创建时间。
	CreatedAt *sdktime.SdkTime `json:"created_at"`
}

PolicyVersion 身份策略版本信息。

func (PolicyVersion) String

func (o PolicyVersion) String() string

type PolicyVersionId

type PolicyVersionId struct {
}

PolicyVersionId 身份策略版本号,以\"v\"开头后跟数字,例如\"v5\"。

func (PolicyVersionId) String

func (o PolicyVersionId) String() string

type Reason

type Reason struct {
}

Reason 删除失败的原因。

func (Reason) String

func (o Reason) String() string

type RegionName

type RegionName struct {
}

RegionName 区域名称。

func (RegionName) String

func (o RegionName) String() string

type RemoveUserFromGroupReqBody

type RemoveUserFromGroupReqBody struct {

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`
}

func (RemoveUserFromGroupReqBody) String

type RemoveUserFromGroupV5Request

type RemoveUserFromGroupV5Request struct {

	// 用户组ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	GroupId string `json:"group_id"`

	Body *RemoveUserFromGroupReqBody `json:"body,omitempty"`
}

RemoveUserFromGroupV5Request Request Object

func (RemoveUserFromGroupV5Request) String

type RemoveUserFromGroupV5Response

type RemoveUserFromGroupV5Response struct {
	HttpStatusCode int `json:"-"`
}

RemoveUserFromGroupV5Response Response Object

func (RemoveUserFromGroupV5Response) String

type Resource

type Resource struct {

	// 云服务资源类型名称。
	TypeName string `json:"type_name"`

	// 统一资源名称模板,表示可以通过这类资源的统一资源名称对该授权项进行资源粒度的授权。
	UrnTemplate string `json:"urn_template"`
}

Resource 资源。

func (Resource) String

func (o Resource) String() string

type ServiceCode

type ServiceCode struct {
}

ServiceCode 服务名称缩写。

func (ServiceCode) String

func (o ServiceCode) String() string

type ServicePrincipal

type ServicePrincipal struct {
}

ServicePrincipal 服务主体,由\"service.\"开头,后跟一个长度为1到56个字符,只包含字母、数字和\"-\"的字符串。

func (ServicePrincipal) String

func (o ServicePrincipal) String() string

type ServicePrincipalMetadata

type ServicePrincipalMetadata struct {

	// 服务主体,由\"service.\"开头,后跟一个长度为1到56个字符,只包含字母、数字和\"-\"的字符串。
	ServicePrincipal string `json:"service_principal"`

	// 云服务名称。
	ServiceCatalog string `json:"service_catalog"`

	// 用于显示的服务主体名称。
	DisplayName string `json:"display_name"`

	// 服务主体的描述。
	Description string `json:"description"`
}

ServicePrincipalMetadata 服务主体信息。

func (ServicePrincipalMetadata) String

func (o ServicePrincipalMetadata) String() string

type SetAsymmetricSignatureReq

type SetAsymmetricSignatureReq struct {
	AsymmetricSignature *AsymmetricSignature `json:"asymmetric_signature"`
}

SetAsymmetricSignatureReq Set asymmetric signature API request body.

func (SetAsymmetricSignatureReq) String

func (o SetAsymmetricSignatureReq) String() string

type SetAsymmetricSignatureSwitchV5Request

type SetAsymmetricSignatureSwitchV5Request struct {
	Body *SetAsymmetricSignatureReq `json:"body,omitempty"`
}

SetAsymmetricSignatureSwitchV5Request Request Object

func (SetAsymmetricSignatureSwitchV5Request) String

type SetAsymmetricSignatureSwitchV5Response

type SetAsymmetricSignatureSwitchV5Response struct {
	HttpStatusCode int `json:"-"`
}

SetAsymmetricSignatureSwitchV5Response Response Object

func (SetAsymmetricSignatureSwitchV5Response) String

type SetDefaultPolicyVersionV5Request

type SetDefaultPolicyVersionV5Request struct {

	// 身份策略ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	PolicyId string `json:"policy_id"`

	// 身份策略版本号,以\"v\"开头后跟数字的字符串,例如\"v5\"。
	VersionId string `json:"version_id"`
}

SetDefaultPolicyVersionV5Request Request Object

func (SetDefaultPolicyVersionV5Request) String

type SetDefaultPolicyVersionV5Response

type SetDefaultPolicyVersionV5Response struct {
	HttpStatusCode int `json:"-"`
}

SetDefaultPolicyVersionV5Response Response Object

func (SetDefaultPolicyVersionV5Response) String

type ShowAccessKeyLastUsedV5Request

type ShowAccessKeyLastUsedV5Request struct {

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`

	// 永久访问密钥ID,即AK。
	AccessKeyId string `json:"access_key_id"`
}

ShowAccessKeyLastUsedV5Request Request Object

func (ShowAccessKeyLastUsedV5Request) String

type ShowAccessKeyLastUsedV5Response

type ShowAccessKeyLastUsedV5Response struct {
	AccessKeyLastUsed *AccessKeyLastUsed `json:"access_key_last_used,omitempty"`
	HttpStatusCode    int                `json:"-"`
}

ShowAccessKeyLastUsedV5Response Response Object

func (ShowAccessKeyLastUsedV5Response) String

type ShowGroupV5Request

type ShowGroupV5Request struct {

	// 用户组ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	GroupId string `json:"group_id"`
}

ShowGroupV5Request Request Object

func (ShowGroupV5Request) String

func (o ShowGroupV5Request) String() string

type ShowGroupV5Response

type ShowGroupV5Response struct {
	Group          *Group `json:"group,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ShowGroupV5Response Response Object

func (ShowGroupV5Response) String

func (o ShowGroupV5Response) String() string

type ShowLoginPolicyV5Request

type ShowLoginPolicyV5Request struct {
}

ShowLoginPolicyV5Request Request Object

func (ShowLoginPolicyV5Request) String

func (o ShowLoginPolicyV5Request) String() string

type ShowLoginPolicyV5Response

type ShowLoginPolicyV5Response struct {
	LoginPolicy    *LoginPolicy `json:"login_policy,omitempty"`
	HttpStatusCode int          `json:"-"`
}

ShowLoginPolicyV5Response Response Object

func (ShowLoginPolicyV5Response) String

func (o ShowLoginPolicyV5Response) String() string

type ShowLoginProfileV5Request

type ShowLoginProfileV5Request struct {

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`
}

ShowLoginProfileV5Request Request Object

func (ShowLoginProfileV5Request) String

func (o ShowLoginProfileV5Request) String() string

type ShowLoginProfileV5Response

type ShowLoginProfileV5Response struct {
	LoginProfile   *LoginProfile `json:"login_profile,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ShowLoginProfileV5Response Response Object

func (ShowLoginProfileV5Response) String

type ShowPasswordPolicyV5Request

type ShowPasswordPolicyV5Request struct {
}

ShowPasswordPolicyV5Request Request Object

func (ShowPasswordPolicyV5Request) String

type ShowPasswordPolicyV5Response

type ShowPasswordPolicyV5Response struct {
	PasswordPolicy *PasswordPolicy `json:"password_policy,omitempty"`
	HttpStatusCode int             `json:"-"`
}

ShowPasswordPolicyV5Response Response Object

func (ShowPasswordPolicyV5Response) String

type ShowUserLastLoginV5Request

type ShowUserLastLoginV5Request struct {

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`
}

ShowUserLastLoginV5Request Request Object

func (ShowUserLastLoginV5Request) String

type ShowUserLastLoginV5Response

type ShowUserLastLoginV5Response struct {
	UserLastLogin  *UserLastLogin `json:"user_last_login,omitempty"`
	HttpStatusCode int            `json:"-"`
}

ShowUserLastLoginV5Response Response Object

func (ShowUserLastLoginV5Response) String

type ShowUserV5Request

type ShowUserV5Request struct {

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`
}

ShowUserV5Request Request Object

func (ShowUserV5Request) String

func (o ShowUserV5Request) String() string

type ShowUserV5Response

type ShowUserV5Response struct {
	User           *UserEx `json:"user,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowUserV5Response Response Object

func (ShowUserV5Response) String

func (o ShowUserV5Response) String() string

type Tag

type Tag struct {

	// 标签键,可以包含任意语种字母、数字、空格以及\"_\"、\".\"、\":\"、\"=\"、\"+\"、\"-\"、\"@\"符号的任意组合,但是首尾不能包含空格以及不能使用\"\\_sys\\_\"为开头,长度范围[1,64]。
	TagKey string `json:"tag_key"`

	// 标签值,可以包含任意语种字母、数字、空格以及\"_\"、\".\"、\":\"、\"/\"、\"=\"、\"+\"、\"-\"、\"@\"符号的任意组合,可以是空字符串,长度范围[0,128]。
	TagValue string `json:"tag_value"`
}

Tag 自定义标签信息。

func (Tag) String

func (o Tag) String() string

type TagResourceV5Request

type TagResourceV5Request struct {

	// 资源ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	ResourceId string `json:"resource_id"`

	// 资源类型,可以为“信任委托”(agency)或“IAM用户”(user)。
	ResourceType TagResourceV5RequestResourceType `json:"resource_type"`

	Body *Tags `json:"body,omitempty"`
}

TagResourceV5Request Request Object

func (TagResourceV5Request) String

func (o TagResourceV5Request) String() string

type TagResourceV5RequestResourceType

type TagResourceV5RequestResourceType struct {
	// contains filtered or unexported fields
}

func (TagResourceV5RequestResourceType) MarshalJSON

func (c TagResourceV5RequestResourceType) MarshalJSON() ([]byte, error)

func (*TagResourceV5RequestResourceType) UnmarshalJSON

func (c *TagResourceV5RequestResourceType) UnmarshalJSON(b []byte) error

func (TagResourceV5RequestResourceType) Value

type TagResourceV5RequestResourceTypeEnum

type TagResourceV5RequestResourceTypeEnum struct {
	AGENCY TagResourceV5RequestResourceType
	USER   TagResourceV5RequestResourceType
}

func GetTagResourceV5RequestResourceTypeEnum

func GetTagResourceV5RequestResourceTypeEnum() TagResourceV5RequestResourceTypeEnum

type TagResourceV5Response

type TagResourceV5Response struct {

	// 自定义标签列表。
	Tags           *[]Tag `json:"tags,omitempty"`
	HttpStatusCode int    `json:"-"`
}

TagResourceV5Response Response Object

func (TagResourceV5Response) String

func (o TagResourceV5Response) String() string

type Tags

type Tags struct {

	// 自定义标签列表。
	Tags *[]Tag `json:"tags,omitempty"`
}

func (Tags) String

func (o Tags) String() string

type TrustPolicyDocument

type TrustPolicyDocument struct {
}

TrustPolicyDocument 信任委托信任策略的策略文档的json格式。下面的字符`= < > ( ) |`是语法中的特殊字符,不包含在信任策略中。 问号`?`表示元素是可选的。例如`sid_block?`。 竖线`|`表示可选项,括号定义了可选项的范围。例如`(\"Allow\" | \"Deny\")`。 当一个元素允许多个值时,使用重复值、`,`以及`...`表示。例如`[ <policy_statement>, <policy_statement>, ... ]`。 下面的递归文法描述了信任策略的语法: ``` policy = { <version_block>, <statement_block> } <version_block> = \"Version\" : (\"5.0\") <statement_block> = \"Statement\" : [ <policy_statement>, <policy_statement>, ... ] <policy_statement> = { <sid_block?>, <principal_block>, <effect_block>, <action_block>, <resource_block?>, <condition_block?> } <sid_block> = \"Sid\" : <sid_string> <principal_block> = (\"Principal\" | \"NotPrincipal\") : <principal_map> <principal_map> = { <principal_map_entry>, <principal_map_entry>, ... } <principal_map_entry> = (\"IAM\" | \"Service\") : [ <principal_id_string>, <principal_id_string>, ... ] <effect_block> = \"Effect\" : (\"Allow\" | \"Deny\") <action_block> = (\"Action\" | \"NotAction\") : [ <action_string>, <action_string>, ... ] <resource_block> = (\"Resource\" | \"NotResource\") : [ <resource_string>, <resource_string>, ... ] <condition_block> = \"Condition\" : { <condition_map> } <condition_map> = { <condition_type_string> : { <condition_key_string> : <condition_value_list> }, <condition_type_string> : { <condition_key_string> : <condition_value_list> }, ... } <condition_value_list> = ( <condition_value> | [ <condition_value>, <condition_value>, ... ] ) <condition_value> = \"string\" ```

func (TrustPolicyDocument) String

func (o TrustPolicyDocument) String() string

type TypeName

type TypeName struct {
}

TypeName 云服务资源类型名称。

func (TypeName) String

func (o TypeName) String() string

type UpdateAccessKeyReqBody

type UpdateAccessKeyReqBody struct {
	Status *AccessKeyStatus `json:"status"`
}

UpdateAccessKeyReqBody The request body of update access key requests.

func (UpdateAccessKeyReqBody) String

func (o UpdateAccessKeyReqBody) String() string

type UpdateAccessKeyV5Request

type UpdateAccessKeyV5Request struct {

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`

	// 永久访问密钥ID,即AK。
	AccessKeyId string `json:"access_key_id"`

	Body *UpdateAccessKeyReqBody `json:"body,omitempty"`
}

UpdateAccessKeyV5Request Request Object

func (UpdateAccessKeyV5Request) String

func (o UpdateAccessKeyV5Request) String() string

type UpdateAccessKeyV5Response

type UpdateAccessKeyV5Response struct {
	AccessKey      *AccessKeyMetadata `json:"access_key,omitempty"`
	HttpStatusCode int                `json:"-"`
}

UpdateAccessKeyV5Response Response Object

func (UpdateAccessKeyV5Response) String

func (o UpdateAccessKeyV5Response) String() string

type UpdateAgencyReqBody

type UpdateAgencyReqBody struct {

	// 委托或信任委托最大会话时长,默认为3600秒。
	MaxSessionDuration *int32 `json:"max_session_duration,omitempty"`

	// 委托或信任委托描述信息。
	Description *string `json:"description,omitempty"`
}

UpdateAgencyReqBody The request body of update agency request.

func (UpdateAgencyReqBody) String

func (o UpdateAgencyReqBody) String() string

type UpdateAgencyV5Request

type UpdateAgencyV5Request struct {

	// 委托或信任委托ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	AgencyId string `json:"agency_id"`

	Body *UpdateAgencyReqBody `json:"body,omitempty"`
}

UpdateAgencyV5Request Request Object

func (UpdateAgencyV5Request) String

func (o UpdateAgencyV5Request) String() string

type UpdateAgencyV5Response

type UpdateAgencyV5Response struct {
	HttpStatusCode int `json:"-"`
}

UpdateAgencyV5Response Response Object

func (UpdateAgencyV5Response) String

func (o UpdateAgencyV5Response) String() string

type UpdateGroupReqBody

type UpdateGroupReqBody struct {

	// 用户组名,可包含中文、英文、数字、空格、\"_\"、\"-\"、\"{\"和\"}\"的字符串。
	NewGroupName *string `json:"new_group_name,omitempty"`

	// 用户组描述信息,不能包含特定字符\"@\"、\"#\"、\"%\"、\"&\"、\"<\"、\">\"、\"\\\\\"、\"$\"、\"^\"和\"*\"的字符串。
	NewGroupDescription *string `json:"new_group_description,omitempty"`
}

UpdateGroupReqBody The request body of update group request.

func (UpdateGroupReqBody) String

func (o UpdateGroupReqBody) String() string

type UpdateGroupV5Request

type UpdateGroupV5Request struct {

	// 用户组ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	GroupId string `json:"group_id"`

	Body *UpdateGroupReqBody `json:"body,omitempty"`
}

UpdateGroupV5Request Request Object

func (UpdateGroupV5Request) String

func (o UpdateGroupV5Request) String() string

type UpdateGroupV5Response

type UpdateGroupV5Response struct {
	Group          *Group `json:"group,omitempty"`
	HttpStatusCode int    `json:"-"`
}

UpdateGroupV5Response Response Object

func (UpdateGroupV5Response) String

func (o UpdateGroupV5Response) String() string

type UpdateLoginPolicyReqBody

type UpdateLoginPolicyReqBody struct {

	// 如果IAM用户在该值设置的有效期(天)内未登录,则被停用,不适用于根用户。
	UserValidityPeriod *int32 `json:"user_validity_period,omitempty"`

	// 登录提示信息,不能包含特定字符\"@\"、\"#\"、\"%\"、\"&\"、\"<\"、\">\"、\"\\\\\"、\"$\"、\"^\"和\"*\"的字符串。
	CustomInfoForLogin *string `json:"custom_info_for_login,omitempty"`

	// IAM用户登录锁定时长(分钟)。
	LockoutDuration *int32 `json:"lockout_duration,omitempty"`

	// 限定时间内登录失败次数。
	LoginFailedTimes *int32 `json:"login_failed_times,omitempty"`

	// 限定时间长度(分钟)。
	PeriodWithLoginFailures *int32 `json:"period_with_login_failures,omitempty"`

	// 登录会话失效时间。
	SessionTimeout *int32 `json:"session_timeout,omitempty"`

	// 是否显示最近一次的登录信息。
	ShowRecentLoginInfo *bool `json:"show_recent_login_info,omitempty"`

	// 允许访问的IP地址或网段。
	AllowAddressNetmasks *[]AllowAddressNetmask `json:"allow_address_netmasks,omitempty"`

	// 允许访问的IP地址区间。
	AllowIpRanges *[]AllowIpRange `json:"allow_ip_ranges,omitempty"`
}

func (UpdateLoginPolicyReqBody) String

func (o UpdateLoginPolicyReqBody) String() string

type UpdateLoginPolicyV5Request

type UpdateLoginPolicyV5Request struct {
	Body *UpdateLoginPolicyReqBody `json:"body,omitempty"`
}

UpdateLoginPolicyV5Request Request Object

func (UpdateLoginPolicyV5Request) String

type UpdateLoginPolicyV5Response

type UpdateLoginPolicyV5Response struct {
	LoginPolicy    *LoginPolicy `json:"login_policy,omitempty"`
	HttpStatusCode int          `json:"-"`
}

UpdateLoginPolicyV5Response Response Object

func (UpdateLoginPolicyV5Response) String

type UpdateLoginProfileReqBody

type UpdateLoginProfileReqBody struct {

	// IAM用户的密码。
	Password *string `json:"password,omitempty"`

	// IAM用户下次登录时是否需要修改密码。
	PasswordResetRequired *bool `json:"password_reset_required,omitempty"`
}

UpdateLoginProfileReqBody The request body of update login profile request.

func (UpdateLoginProfileReqBody) String

func (o UpdateLoginProfileReqBody) String() string

type UpdateLoginProfileV5Request

type UpdateLoginProfileV5Request struct {

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`

	Body *UpdateLoginProfileReqBody `json:"body,omitempty"`
}

UpdateLoginProfileV5Request Request Object

func (UpdateLoginProfileV5Request) String

type UpdateLoginProfileV5Response

type UpdateLoginProfileV5Response struct {
	LoginProfile   *LoginProfile `json:"login_profile,omitempty"`
	HttpStatusCode int           `json:"-"`
}

UpdateLoginProfileV5Response Response Object

func (UpdateLoginProfileV5Response) String

type UpdatePasswordPolicyReqBody

type UpdatePasswordPolicyReqBody struct {

	// 同一字符连续出现的最大次数。
	MaximumConsecutiveIdenticalChars *int32 `json:"maximum_consecutive_identical_chars,omitempty"`

	// 密码最短使用时间(分钟)。
	MinimumPasswordAge *int32 `json:"minimum_password_age,omitempty"`

	// 密码最小字符数。
	MinimumPasswordLength *int32 `json:"minimum_password_length,omitempty"`

	// 密码不能与历史密码重复次数。
	PasswordReusePrevention *int32 `json:"password_reuse_prevention,omitempty"`

	// 密码是否可以是用户名或用户名的反序。
	PasswordNotUsernameOrInvert *bool `json:"password_not_username_or_invert,omitempty"`

	// 密码有效期(天)。
	PasswordValidityPeriod *int32 `json:"password_validity_period,omitempty"`

	// 至少包含字符种类的个数。
	PasswordCharCombination *int32 `json:"password_char_combination,omitempty"`

	// 是否允许IAM用户修改自己的密码,不适用于根用户。
	AllowUserToChangePassword *bool `json:"allow_user_to_change_password,omitempty"`
}

func (UpdatePasswordPolicyReqBody) String

type UpdatePasswordPolicyV5Request

type UpdatePasswordPolicyV5Request struct {
	Body *UpdatePasswordPolicyReqBody `json:"body,omitempty"`
}

UpdatePasswordPolicyV5Request Request Object

func (UpdatePasswordPolicyV5Request) String

type UpdatePasswordPolicyV5Response

type UpdatePasswordPolicyV5Response struct {
	PasswordPolicy *PasswordPolicy `json:"password_policy,omitempty"`
	HttpStatusCode int             `json:"-"`
}

UpdatePasswordPolicyV5Response Response Object

func (UpdatePasswordPolicyV5Response) String

type UpdateTrustPolicyReqBody

type UpdateTrustPolicyReqBody struct {

	// 信任委托信任策略的策略文档的json格式。下面的字符`= < > ( ) |`是语法中的特殊字符,不包含在信任策略中。  问号`?`表示元素是可选的。例如`sid_block?`。  竖线`|`表示可选项,括号定义了可选项的范围。例如`(\"Allow\" | \"Deny\")`。  当一个元素允许多个值时,使用重复值、`,`以及`...`表示。例如`[ <policy_statement>, <policy_statement>, ... ]`。  下面的递归文法描述了信任策略的语法: “` policy = {   <version_block>,   <statement_block> }  <version_block> = \"Version\" : (\"5.0\")  <statement_block> = \"Statement\" : [ <policy_statement>, <policy_statement>, ... ]  <policy_statement> = {   <sid_block?>,   <principal_block>,   <effect_block>,   <action_block>,   <resource_block?>,   <condition_block?> }  <sid_block> = \"Sid\" : <sid_string>  <principal_block> = (\"Principal\" | \"NotPrincipal\") : <principal_map>  <principal_map> = { <principal_map_entry>, <principal_map_entry>, ... }  <principal_map_entry> = (\"IAM\" | \"Service\") : [ <principal_id_string>, <principal_id_string>, ... ]  <effect_block> = \"Effect\" : (\"Allow\" | \"Deny\")  <action_block> = (\"Action\" | \"NotAction\") : [ <action_string>, <action_string>, ... ]  <resource_block> = (\"Resource\" | \"NotResource\") : [ <resource_string>, <resource_string>, ... ]  <condition_block> = \"Condition\" : { <condition_map> }  <condition_map> = {   <condition_type_string> : { <condition_key_string> : <condition_value_list> },   <condition_type_string> : { <condition_key_string> : <condition_value_list> },   ... }  <condition_value_list> = ( <condition_value> | [ <condition_value>, <condition_value>, ... ] )  <condition_value> = \"string\" “`
	TrustPolicy string `json:"trust_policy"`
}

UpdateTrustPolicyReqBody The request body of update trust policy request.

func (UpdateTrustPolicyReqBody) String

func (o UpdateTrustPolicyReqBody) String() string

type UpdateTrustPolicyV5Request

type UpdateTrustPolicyV5Request struct {

	// 委托或信任委托ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	AgencyId string `json:"agency_id"`

	Body *UpdateTrustPolicyReqBody `json:"body,omitempty"`
}

UpdateTrustPolicyV5Request Request Object

func (UpdateTrustPolicyV5Request) String

type UpdateTrustPolicyV5Response

type UpdateTrustPolicyV5Response struct {
	HttpStatusCode int `json:"-"`
}

UpdateTrustPolicyV5Response Response Object

func (UpdateTrustPolicyV5Response) String

type UpdateUserReqBody

type UpdateUserReqBody struct {

	// IAM用户名,长度为1到64个字符,只包含字母、数字、\"_\"、\"-\"、\".\"和空格的字符串,且首位不能为数字。
	NewUserName *string `json:"new_user_name,omitempty"`

	// IAM用户描述信息,不能包含特定字符\"@\"、\"#\"、\"%\"、\"&\"、\"<\"、\">\"、\"\\\\\"、\"$\"、\"^\"和\"*\"的字符串。
	NewDescription *string `json:"new_description,omitempty"`

	// IAM用户是否启用。
	Enabled *bool `json:"enabled,omitempty"`
}

UpdateUserReqBody The request body of update user request.

func (UpdateUserReqBody) String

func (o UpdateUserReqBody) String() string

type UpdateUserV5Request

type UpdateUserV5Request struct {

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`

	Body *UpdateUserReqBody `json:"body,omitempty"`
}

UpdateUserV5Request Request Object

func (UpdateUserV5Request) String

func (o UpdateUserV5Request) String() string

type UpdateUserV5Response

type UpdateUserV5Response struct {
	User           *User `json:"user,omitempty"`
	HttpStatusCode int   `json:"-"`
}

UpdateUserV5Response Response Object

func (UpdateUserV5Response) String

func (o UpdateUserV5Response) String() string

type Urn

type Urn struct {
}

Urn 统一资源名称。

func (Urn) String

func (o Urn) String() string

type UrnTemplate

type UrnTemplate struct {
}

UrnTemplate 统一资源名称模板,表示可以通过这类资源的统一资源名称对该授权项进行资源粒度的授权。

func (UrnTemplate) String

func (o UrnTemplate) String() string

type User

type User struct {

	// IAM用户描述信息,不能包含特定字符\"@\"、\"#\"、\"%\"、\"&\"、\"<\"、\">\"、\"\\\\\"、\"$\"、\"^\"和\"*\"的字符串。
	Description *string `json:"description,omitempty"`

	// IAM用户名,长度为1到64个字符,只包含字母、数字、\"_\"、\"-\"、\".\"和空格的字符串,且首位不能为数字。
	UserName string `json:"user_name"`

	// IAM用户是否为根用户。
	IsRootUser bool `json:"is_root_user"`

	// IAM用户创建时间。
	CreatedAt *sdktime.SdkTime `json:"created_at"`

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`

	// 统一资源名称。
	Urn string `json:"urn"`

	// IAM用户是否启用。
	Enabled bool `json:"enabled"`
}

User IAM用户。

func (User) String

func (o User) String() string

type UserDescription

type UserDescription struct {
}

UserDescription IAM用户描述信息,不能包含特定字符\"@\"、\"#\"、\"%\"、\"&\"、\"<\"、\">\"、\"\\\\\"、\"$\"、\"^\"和\"*\"的字符串。

func (UserDescription) String

func (o UserDescription) String() string

type UserEnabled

type UserEnabled struct {
}

UserEnabled IAM用户是否启用。

func (UserEnabled) String

func (o UserEnabled) String() string

type UserEx

type UserEx struct {

	// IAM用户描述信息,不能包含特定字符\"@\"、\"#\"、\"%\"、\"&\"、\"<\"、\">\"、\"\\\\\"、\"$\"、\"^\"和\"*\"的字符串。
	Description *string `json:"description,omitempty"`

	// IAM用户名,长度为1到64个字符,只包含字母、数字、\"_\"、\"-\"、\".\"和空格的字符串,且首位不能为数字。
	UserName string `json:"user_name"`

	// IAM用户是否为根用户。
	IsRootUser bool `json:"is_root_user"`

	// IAM用户创建时间。
	CreatedAt *sdktime.SdkTime `json:"created_at"`

	// IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。
	UserId string `json:"user_id"`

	// 统一资源名称。
	Urn string `json:"urn"`

	// IAM用户是否启用。
	Enabled bool `json:"enabled"`

	// 自定义标签列表。
	Tags []Tag `json:"tags"`
}

UserEx IAM用户。

func (UserEx) String

func (o UserEx) String() string

type UserId

type UserId struct {
}

UserId IAM用户ID,长度为1到64个字符,只包含字母、数字和\"-\"的字符串。

func (UserId) String

func (o UserId) String() string

type UserLastLogin

type UserLastLogin struct {

	// IAM用户最后登录时间。若不存在则表示从未登录过。
	LastLoginAt *sdktime.SdkTime `json:"last_login_at,omitempty"`
}

UserLastLogin IAM用户最后登录时间。

func (UserLastLogin) String

func (o UserLastLogin) String() string

type UserName

type UserName struct {
}

UserName IAM用户名,长度为1到64个字符,只包含字母、数字、\"_\"、\"-\"、\".\"和空格的字符串,且首位不能为数字。

func (UserName) String

func (o UserName) String() string

type UserPassword

type UserPassword struct {
}

UserPassword IAM用户的密码。

func (UserPassword) String

func (o UserPassword) String() string

type UserPasswordNew

type UserPasswordNew struct {
}

UserPasswordNew IAM用户的新密码。

func (UserPasswordNew) String

func (o UserPasswordNew) String() string

type UserPasswordOld

type UserPasswordOld struct {
}

UserPasswordOld IAM用户的旧密码。

func (UserPasswordOld) String

func (o UserPasswordOld) String() string

type VirtualMfaDevice

type VirtualMfaDevice struct {

	// MFA设备序列号。
	SerialNumber string `json:"serial_number"`

	// 密钥信息,用于第三方生成图片验证码。
	Base32StringSeed string `json:"base32_string_seed"`
}

VirtualMfaDevice MFA设备。

func (VirtualMfaDevice) String

func (o VirtualMfaDevice) String() string

Source Files

Jump to

Keyboard shortcuts

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