get_user_service_action_resources

package
v7.24.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

列举子账号指定服务操作下的可访问资源

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllowedResources

type AllowedResources = []string

可用资源列表

type Data

type Data struct {
	AllowedResources AllowedResources // 可用资源
	DeniedResources  DeniedResources  // 禁用资源
}

IAM 子账号指定服务操作下的可访问资源列表信息

func (*Data) MarshalJSON

func (j *Data) MarshalJSON() ([]byte, error)

func (*Data) UnmarshalJSON

func (j *Data) UnmarshalJSON(data []byte) error

type DeniedResources

type DeniedResources = []string

禁用资源列表

type GetIamUserServiceActionResources

type GetIamUserServiceActionResources = Data

返回的 IAM 子账号指定服务操作下的可访问资源列表信息

type GetIamUserServiceActionResourcesResp

type GetIamUserServiceActionResourcesResp = Response

返回的 IAM 子账号指定服务操作下的可访问资源列表响应

type Request

type Request struct {
	UserAlias   string                          // 子账号别名
	Service     string                          // 资源操作关联的服务
	ActionAlias string                          // 资源操作别名
	Credentials credentials.CredentialsProvider // 鉴权参数,用于生成鉴权凭证,如果为空,则使用 HTTPClientOptions 中的 CredentialsProvider
}

调用 API 所用的请求

type Response

type Response struct {
	Data GetIamUserServiceActionResources // IAM 子账号指定服务操作下的可访问资源列表信息
}

获取 API 所用的响应

func (*Response) MarshalJSON

func (j *Response) MarshalJSON() ([]byte, error)

func (*Response) UnmarshalJSON

func (j *Response) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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