aws

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateInvalidationRequest

func CreateInvalidationRequest(session *session.Session, distribution, pattern string) error

CreateInvalidationRequest created a new Invalidation request for `distribution` on `pattern`, using `session` provided.

func GetSession

func GetSession(region string) (*session.Session, error)

GetSession obtains a new session object to use with AWS services.

func UploadFile

func UploadFile(session *session.Session, uploadFileDir, bucket, destinationKey string) error

UploadFile uploads `uploadFileDir` to `bucket`, into the `destinationKey`, using the `session` provided.

Types

This section is empty.

Jump to

Keyboard shortcuts

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