sqs

package
v0.0.0-...-8aabc32 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package sqs contains helpers for AWS SQS.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateQueue

func CreateQueue(sqsClient sqsiface.SQSAPI, f *framework.Framework) string

CreateQueue creates a queue named after the given framework.Framework.

func DeleteQueue

func DeleteQueue(sqsClient sqsiface.SQSAPI, url string)

DeleteQueue deletes the queue with the given URL.

func QueueARN

func QueueARN(sqsClient sqsiface.SQSAPI, url string) string

QueueARN returns the ARN of the queue with the given URL.

func ReceiveMessages

func ReceiveMessages(sqsClient sqsiface.SQSAPI, url string) []*sqs.Message

ReceiveMessages retrieves messages from the queue with the given URL.

func SetQueuePolicy

func SetQueuePolicy(sqsClient sqsiface.SQSAPI, url string, pol iam.Policy)

SetQueuePolicy sets the Policy attribute of the queue with the given URL.

Types

This section is empty.

Jump to

Keyboard shortcuts

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