models

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2019 License: Apache-2.0 Imports: 0 Imported by: 11 modules, 10 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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