awsutil

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteQueue

func DeleteQueue(ctx context.Context, sqsClient *sqs.Client, queueURL string) error

func EnsureQueue

func EnsureQueue(ctx context.Context, sqsClient *sqs.Client, queueName string, createQueue CreateQueueFn) (string, error)

func RetrieveQueueARN

func RetrieveQueueARN(ctx context.Context, sqsClient *sqs.Client, queueURL string) (string, error)

func RetrieveQueueURL

func RetrieveQueueURL(ctx context.Context, sqsClient *sqs.Client, queueName string) (string, error)

func SQSClientFromConfig

func SQSClientFromConfig(ctx context.Context, cfg *mqs.AWSSQSConfig) (*sqs.Client, error)

Types

type CreateQueueFn

type CreateQueueFn func(ctx context.Context, sqsClient *sqs.Client, queueName string) (*sqs.CreateQueueOutput, error)

func MakeCreateQueue

func MakeCreateQueue(attributes map[string]string) CreateQueueFn

Jump to

Keyboard shortcuts

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