awsutil

package
v1.4.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultRegion = "us-east-1" // This is the only region which cannot be disabled.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	Credentials
	// contains filtered or unexported fields
}

func NewAccount

func NewAccount(creds Credentials) (*Account, error)

func (*Account) Alias

func (a *Account) Alias() string

func (*Account) Aliases

func (a *Account) Aliases() []string

func (*Account) ID

func (a *Account) ID() string

type Credentials

type Credentials struct {
	Profile string

	AccessKeyID     string
	SecretAccessKey string
	// contains filtered or unexported fields
}

func (*Credentials) HasKeys

func (c *Credentials) HasKeys() bool

func (*Credentials) HasProfile

func (c *Credentials) HasProfile() bool

func (*Credentials) NewSession

func (c *Credentials) NewSession(region string) (*session.Session, error)

func (*Credentials) Session

func (c *Credentials) Session(region string) (*session.Session, error)

func (*Credentials) Validate

func (c *Credentials) Validate() error

Jump to

Keyboard shortcuts

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