models

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssumeRoleInfo

type AssumeRoleInfo struct {

	/* 角色资源标识(jrn)  */
	RoleJrn string `json:"roleJrn"`

	/* 角色会话名称  */
	RoleSessionName string `json:"roleSessionName"`

	/* 临时凭证有效期,单位秒,取值范围:3600~您所扮演的角色设置的maxSessionDuration,默认3600 (Optional) */
	DurationSeconds *int `json:"durationSeconds"`
}

type AssumeServiceRoleInfo

type AssumeServiceRoleInfo struct {

	/* 角色类型, 1-服务相关角色,2-服务角色  */
	RoleType int `json:"roleType"`

	/* 令牌有效期,单位秒,默认3600 (Optional) */
	DurationSeconds int `json:"durationSeconds"`
}

type AssumedRoleService

type AssumedRoleService struct {

	/* 代入角色id (Optional) */
	AssumedServiceRoleId string `json:"assumedServiceRoleId"`

	/* 代入角色名 (Optional) */
	AssumedServiceRoleName string `json:"assumedServiceRoleName"`
}

type AssumedRoleUser

type AssumedRoleUser struct {

	/* 代入角色id (Optional) */
	AssumedRoleId string `json:"assumedRoleId"`

	/* 京东云资源标识(jrn) (Optional) */
	Jrn string `json:"jrn"`
}

type Credentials

type Credentials struct {

	/* 临时accessKey (Optional) */
	AccessKey string `json:"accessKey"`

	/* 临时secretKey (Optional) */
	SecretKey string `json:"secretKey"`

	/* 临时安全令牌 (Optional) */
	SessionToken string `json:"sessionToken"`

	/* 有效期 (Optional) */
	Expiration string `json:"expiration"`
}

Jump to

Keyboard shortcuts

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