Documentation
¶
Overview ¶
列举 IAM 子账号密钥
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { Count int64 // IAM 子账号密钥数量 List GetIamUserKeyPairs // IAM 子账号密钥列表 }
IAM 子账号密钥信息
func (*Data) MarshalJSON ¶
func (*Data) UnmarshalJSON ¶
type GetIamUserKeyPair ¶
type GetIamUserKeyPair struct { Id string // 记录 ID AccessKey string // IAM 子账号 Access Key SecretKey string // IAM 子账号 Secret Key UserId string // 关联用户的记录 ID CreatedAt string // 密钥创建时间 Enabled bool // 密钥是否启用 }
返回的 IAM 子账号密钥
func (*GetIamUserKeyPair) MarshalJSON ¶
func (j *GetIamUserKeyPair) MarshalJSON() ([]byte, error)
func (*GetIamUserKeyPair) UnmarshalJSON ¶
func (j *GetIamUserKeyPair) UnmarshalJSON(data []byte) error
type Request ¶
type Request struct { Alias string // 子账号别名 Page int64 // 分页页号,从 1 开始,默认 1 PageSize int64 // 分页大小,默认 20,最大 2000 Credentials credentials.CredentialsProvider // 鉴权参数,用于生成鉴权凭证,如果为空,则使用 HTTPClientOptions 中的 CredentialsProvider }
调用 API 所用的请求
type Response ¶
type Response struct {
Data GetIamUserKeyPairsData // IAM 子账号密钥信息
}
获取 API 所用的响应
func (*Response) MarshalJSON ¶
func (*Response) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.