apis

package
v1.62.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssumeRoleRequest

type AssumeRoleRequest struct {
	core.JDCloudRequest

	/* 扮演角色参数  */
	AssumeRoleInfo *sts.AssumeRoleInfo `json:"assumeRoleInfo"`
}

func NewAssumeRoleRequest

func NewAssumeRoleRequest(
	assumeRoleInfo *sts.AssumeRoleInfo,
) *AssumeRoleRequest

* param assumeRoleInfo: 扮演角色参数 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewAssumeRoleRequestWithAllParams

func NewAssumeRoleRequestWithAllParams(
	assumeRoleInfo *sts.AssumeRoleInfo,
) *AssumeRoleRequest

* param assumeRoleInfo: 扮演角色参数 (Required)

func NewAssumeRoleRequestWithoutParam

func NewAssumeRoleRequestWithoutParam() *AssumeRoleRequest

This constructor has better compatible ability when API parameters changed

func (AssumeRoleRequest) GetRegionId

func (r AssumeRoleRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*AssumeRoleRequest) SetAssumeRoleInfo

func (r *AssumeRoleRequest) SetAssumeRoleInfo(assumeRoleInfo *sts.AssumeRoleInfo)

param assumeRoleInfo: 扮演角色参数(Required)

type AssumeRoleResponse

type AssumeRoleResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    AssumeRoleResult   `json:"result"`
}

type AssumeRoleResult

type AssumeRoleResult struct {
	Credentials sts.Credentials `json:"credentials"`
}

Jump to

Keyboard shortcuts

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