csasession

package
v0.0.0-...-f062a39 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSession

func CreateSession(config SessionConfig) (*session.Session, error)

CreateSession returns new AWS session.

func GetAvailableRegions

func GetAvailableRegions() *[]string

GetAvailableRegions returns list of available regions.

Types

type SessionConfig

type SessionConfig struct {
	Profile string
	Region  string
}

SessionConfig provides session configuration for clients.

Directories

Path Synopsis
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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