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"`
}
Click to show internal directories.
Click to hide internal directories.