sqs

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(p client.ConfigProvider, opts ...*aws.Config) api.Endpoint

New implements api.ServiceFunc

Types

type API

type API interface {
	ListQueuesPagesWithContext(context.Context, *sqs.ListQueuesInput, func(*sqs.ListQueuesOutput, bool) bool, ...request.Option) error
	GetQueueAttributesWithContext(context.Context, *sqs.GetQueueAttributesInput, ...request.Option) (*sqs.GetQueueAttributesOutput, error)
}

API documents the subset of AWS API we actually call

type GetQueueAttributes

type GetQueueAttributes struct {
	API
}

func (*GetQueueAttributes) New

func (fn *GetQueueAttributes) New(name string, config interface{}) ([]api.Request, error)

New implements api.RequestBuilder

type GetQueueAttributesOutput

type GetQueueAttributesOutput struct {
	*sqs.GetQueueAttributesOutput
}

func (*GetQueueAttributesOutput) Records

func (o *GetQueueAttributesOutput) Records() (records []*api.Record)

Jump to

Keyboard shortcuts

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