sts

package
Version: v0.0.0-...-b425644 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Credentials

type Credentials struct {
	AccessKeyID     string    `xml:"AccessKeyId,omitempty"`
	Expiration      time.Time `xml:",omitempty"`
	SecretAccessKey string    `xml:",omitempty"`
	SessionToken    string    `xml:",omitempty"`
}

type GetSessionToken

type GetSessionToken struct {
	Version         aws.Version `aws:"2011-06-15"`
	Action          aws.Action  `aws:"GetSessionToken"`
	DurationSeconds int         `aws:"DurationSeconds"`
	SerialNumber    string      `aws:"SerialNumber"`
	TokenCode       string      `aws:"TokenCode"`
}

func (*GetSessionToken) Execute

func (a *GetSessionToken) Execute(client *aws.Client) (*GetSessionTokenResponse, error)

type GetSessionTokenResponse

type GetSessionTokenResponse struct {
	XMLName     xml.Name     `xml:"GetSessionTokenResponse"`
	Credentials *Credentials `xml:"GetSessionTokenResult>Credentials"`
}

Jump to

Keyboard shortcuts

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