easyaws

package
v0.0.0-...-6068345 Latest Latest
Warning

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

Go to latest
Published: May 17, 2017 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesFromS3

func BytesFromS3(bucket string, keys []string, awsSession *session.Session) (map[string][]byte, error)

func BytesToS3

func BytesToS3(byteMap map[string][]byte, bucket string, prefix string, awsSession *session.Session) error

func DeleteFromS3

func DeleteFromS3(bucket string, keys []string, awsSession *session.Session) error

func FilesFromS3

func FilesFromS3(localDir string, bucket string, keys []string, awsSession *session.Session) error

func FilesToS3

func FilesToS3(files []string, bucket string, prefix string, awsSession *session.Session) error

func ListS3Keys

func ListS3Keys(bucket string, prefix string, awsSession *session.Session) ([]string, error)

func PresignedTempS3Url

func PresignedTempS3Url(bucket string, key string, secondsTillExpiration int, awsSession *session.Session) (string, error)

func SendMail

func SendMail(to []string, from string, cc []string, bcc []string, subject string, body string, awsSession *session.Session) (string, error)

func SessionFromEnvVars

func SessionFromEnvVars() *session.Session

func SessionFromProfile

func SessionFromProfile(Profile string) *session.Session

func SessionFromStaticCreds

func SessionFromStaticCreds(AwsAccessKeyID string, AwsSecretAccessKey string, Region string) *session.Session

Types

This section is empty.

Jump to

Keyboard shortcuts

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