kinesis

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(cfg aws.Config, name string) (*kinesis.DeleteStreamOutput, error)

func DescribeStream added in v0.0.3

func DescribeStream(cfg aws.Config, input *kinesis.DescribeStreamInput) (*kinesis.DescribeStreamOutput, error)

func Get

func Get(cfg aws.Config, name string) (*kinesis.GetRecordsOutput, error)

func GetIter

func GetIter(cfg aws.Config, name string) (*kinesis.GetShardIteratorOutput, error)

func GetIterSeq

func GetIterSeq(cfg aws.Config, name, seq string) (*kinesis.GetShardIteratorOutput, error)

func GetRecords

func GetRecords(cfg aws.Config, shardIterator *string) (*kinesis.GetRecordsOutput, error)

func GetStreamSeq

func GetStreamSeq(cfg aws.Config, name, seq string, num ...int32) (*kinesis.GetRecordsOutput, error)

func Register added in v0.0.3

func Register(cfg aws.Config, consumerName, streamARN string) (*kinesis.RegisterStreamConsumerOutput, error)

func SubscribeToShard added in v0.0.3

Types

type P

type P struct {
	// contains filtered or unexported fields
}

func NewP

func NewP(name string) *P

func (*P) Create

func (p *P) Create() (*kinesis.CreateStreamOutput, error)

func (*P) Delete

func (p *P) Delete() (*kinesis.DeleteStreamOutput, error)

func (*P) DescribeStream added in v0.0.3

func (p *P) DescribeStream() (*kinesis.DescribeStreamOutput, error)

func (*P) Get

func (p *P) Get() (*kinesis.GetRecordsOutput, error)

func (*P) List added in v0.0.3

func (p *P) List() (*kinesis.ListStreamsOutput, error)

func (*P) Name

func (p *P) Name(name string) *P

func (*P) Put

func (p *P) Put(key string, data []byte) (*kinesis.PutRecordOutput, error)

func (*P) Register added in v0.0.3

func (p *P) Register(consumerName string, streamARN string) (*kinesis.RegisterStreamConsumerOutput, error)

func (*P) StreamARN added in v0.0.3

func (p *P) StreamARN() (*string, error)

func (*P) SubscribeToShard added in v0.0.3

func (p *P) SubscribeToShard() (*kinesis.SubscribeToShardOutput, error)

Jump to

Keyboard shortcuts

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