session

package
v0.0.57 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(s *sess)

func WithAccessKey

func WithAccessKey(ak string) Option

func WithEnable100Continue added in v0.0.41

func WithEnable100Continue(enabled bool) Option

func WithEnableContentMD5Validation added in v0.0.41

func WithEnableContentMD5Validation(enabled bool) Option

func WithEnableEndpointDiscovery added in v0.0.41

func WithEnableEndpointDiscovery(enabled bool) Option

func WithEnableEndpointHostPrefix added in v0.0.41

func WithEnableEndpointHostPrefix(enabled bool) Option

func WithEnableParamValidation added in v0.0.41

func WithEnableParamValidation(enabled bool) Option

func WithEnableSSL added in v0.0.41

func WithEnableSSL(enabled bool) Option

func WithEndpoint

func WithEndpoint(ep string) Option

func WithForcePathStyle added in v0.0.41

func WithForcePathStyle(enabled bool) Option

func WithHTTPClient added in v0.0.41

func WithHTTPClient(client *http.Client) Option

func WithMaxRetries added in v0.0.41

func WithMaxRetries(r int) Option

func WithRegion

func WithRegion(rg string) Option

func WithSecretAccessKey

func WithSecretAccessKey(sak string) Option

func WithToken

func WithToken(tk string) Option

func WithUseARNRegion added in v0.0.41

func WithUseARNRegion(enabled bool) Option

func WithUseAccelerate added in v0.0.41

func WithUseAccelerate(enabled bool) Option

func WithUseDualStack added in v0.0.41

func WithUseDualStack(enabled bool) Option

type Session

type Session interface {
	Session() (*session.Session, error)
}

func New

func New(opts ...Option) Session

Jump to

Keyboard shortcuts

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