Discover Packages
github.com/awsdocs/aws-doc-sdk-examples/gov2
sqs
ConfigureLPQueue
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
¶
This example configures an Amazon SQS queue to use long polling.
go run ConfigureLPQueuev2.go -q QUEUE-NAME [-w WAIT-TIME]
QUEUE-NAME is the name of the queue to configure.
WAIT-TIME is how long, in seconds, to wait.
The example ensures the value is between 1 and 20;
the default is 10.
The unit test accepts similar values 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.ConfigureLPQueue]
Source Files
¶
Click to show internal directories.
Click to hide internal directories.