aws

package
v4.4.2 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: MIT Imports: 68 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ErrCodeKMSThrottlingException is defined in the API Reference
	// https://docs.aws.amazon.com/sdk-for-go/api/service/kinesis/#Kinesis.GetRecords
	ErrCodeKMSThrottlingException = "KMSThrottlingException"
)

Variables

View Source
var (
	ErrLeaseNotAcquired = errors.New("the shard could not be leased due to a collision")
)

Common errors that might occur throughout checkpointing.

Functions

func GetSession

func GetSession(parsedConf *service.ParsedConfig, opts ...func(*aws.Config)) (*session.Session, error)

GetSession attempts to create an AWS session based on the parsedConfig

func GetSessionFromConf

func GetSessionFromConf(c bsession.Config, opts ...func(*aws.Config)) (*session.Session, error)

GetSessionFromConf attempts to create an AWS session based on Config.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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