Discover Packages
github.com/awsdocs/aws-doc-sdk-examples/gov2
sqs
ReceiveLPMessage
command
Version:
v0.0.0-...-9d6317c
Opens a new window with list of versions in this module.
Published: Mar 2, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
ReceiveLPMessagev2.go
This example gets the most recent message from a long-polling Amazon SQS queue.
go run ReceiveLPMessagev2.go -q QUEUE-NAME
QUEUE-NAME is the name of the queue from which the message is retrieved.
The unit test accepts a similar value in config.json .
Expand ▾
Collapse ▴
Documentation
¶
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX - License - Identifier: Apache - 2.0
snippet-start:[sqs.go-v2.ReceiveLPMessage]
Source Files
¶
Click to show internal directories.
Click to hide internal directories.