Documentation ¶
Index ¶
Constants ¶
View Source
const (
STS_API_VERSION = "2011-06-15"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
type ErrorResponse ¶
func (*ErrorResponse) Error ¶
func (this *ErrorResponse) Error() string
type FederatedUser ¶
type GetFederationTokenReq ¶
type GetFederationTokenReq struct { STSReq DurationSeconds int // 900 seconds(15 minutes) ~ 129600 seconds(36 hours) Name string // 2 <= Length(Name) <= 12 Policy string // json format, 0, 1 <= Length(Policy) <= 2048 }
func (*GetFederationTokenReq) Init ¶
func (this *GetFederationTokenReq) Init() *GetFederationTokenReq
type GetFederationTokenResp ¶
type GetFederationTokenResp struct { STSResp `xml:"-"` GetFederationTokenResult GetFederationTokenResult ResponseMetadata ResponseMetadata }
func (*GetFederationTokenResp) Init ¶
func (this *GetFederationTokenResp) Init(req *GetFederationTokenReq, resp *http.Response) (*GetFederationTokenResp, error)
type GetFederationTokenResult ¶
type GetFederationTokenResult struct { Credentials Credentials FederatedUser FederatedUser PackedPolicySize int }
type ResponseMetadata ¶
type ResponseMetadata struct {
RequestId string
}
type STS ¶
type STS struct {
common.AWSService
}
*
ref: http://docs.aws.amazon.com/STS/latest/APIReference/Welcome.html
func (*STS) GetFederationToken ¶
func (this *STS) GetFederationToken(req *GetFederationTokenReq) (resp *GetFederationTokenResp, err error)
type STSReq ¶
type STSReq struct {
common.AWSRequest
}
Click to show internal directories.
Click to hide internal directories.