aws

package
v0.0.0-...-86597e6 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfig

func NewConfig(ctx context.Context, opts ...func(*config.LoadOptions) error) (aws.Config, error)

func NewSNSClient

func NewSNSClient(ctx context.Context, conf *config.AWS) (aws.SNSClient, error)

func NewSQSClient

func NewSQSClient(ctx context.Context, conf *config.AWS) (aws.SQSClient, error)

Types

type Endpoint

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

func NewEndpoint

func NewEndpoint(opts ...Option) *Endpoint

func (*Endpoint) AddEndpoint

func (e *Endpoint) AddEndpoint(service string, endpoint aws.Endpoint)

func (*Endpoint) EndpointResolver

func (e *Endpoint) EndpointResolver() config.LoadOptionsFunc

func (*Endpoint) ResolveEndpoint

func (e *Endpoint) ResolveEndpoint(service, region string, options ...interface{}) (aws.Endpoint, error)

func (*Endpoint) SNSEndpoint

func (e *Endpoint) SNSEndpoint(endpoint string)

func (*Endpoint) SQSEndpoint

func (e *Endpoint) SQSEndpoint(endpoint string)

type Option

type Option interface {
	// contains filtered or unexported methods
}

func WithSNSEndpoint

func WithSNSEndpoint(endpoint string) Option

func WithSQSEndpoint

func WithSQSEndpoint(endpoint string) Option

Jump to

Keyboard shortcuts

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