Documentation ¶
Overview ¶
Package sqs contains helpers for AWS SQS.
Index ¶
- func CreateQueue(cli sqsiface.SQSAPI, name string, tags map[string]string) (string, error)
- func DeleteQueue(cli sqsiface.SQSAPI, url string) error
- func QueueARN(cli sqsiface.SQSAPI, url string) (string, error)
- func QueueAttributes(cli sqsiface.SQSAPI, url string, attrs []string) (map[string]string, error)
- func QueuePolicy(cli sqsiface.SQSAPI, url string) (string, error)
- func QueueTags(cli sqsiface.SQSAPI, url string) (map[string]string, error)
- func QueueURL(cli sqsiface.SQSAPI, name string) (string, error)
- func SetQueuePolicy(cli sqsiface.SQSAPI, url string, pol iam.Policy) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateQueue ¶
CreateQueue creates a queue with the given name and optional tags.
Naming restrictions are described at https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_CreateQueue.html
func DeleteQueue ¶
DeleteQueue deletes the queue with the given URL.
func QueueAttributes ¶
QueueAttributes returns selected attributes of the queue with the given URL.
func QueuePolicy ¶
QueuePolicy returns the policy of the queue with the given URL.
func SetQueuePolicy ¶
SetQueuePolicy sets the Policy attribute of the queue with the given URL.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.