parser

package module
v0.0.0-...-7ff4205 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetS3Document

func GetS3Document(region string, record events.S3EventRecord) ([]byte, error)

GetS3Document get s3 object

func GetS3DocumentDefault

func GetS3DocumentDefault(region string, bucket string, key string) ([]byte, error)

GetS3DocumentDefault get s3 object

func GetS3DocumentDefaultRaw

func GetS3DocumentDefaultRaw(region string, bucket string, key string) (*s3.GetObjectOutput, error)

GetS3DocumentDefaultRaw get s3 object and return output body

func PutS3DocumentDefault

func PutS3DocumentDefault(input PutS3DocumentDefaultInput) error

PutS3DocumentDefault put byte array to s3 bucket

Types

type PutS3DocumentDefaultInput

type PutS3DocumentDefaultInput struct {
	Region      string
	Bucket      string
	Key         string
	Content     []byte
	ContentType string
	ACL         string
}

PutS3DocumentDefaultInput input object for putting object to s3

Jump to

Keyboard shortcuts

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