Providers¶
Providers are responsible to retrieve messages and acknowledge it (delete from source).
SQSProvider¶
SQSProvider
(located at loafer.ext.aws.providers
) receives the following options:
queue_name
: the queue nameoptions
: (optional): adict
with SQS options to retrieve messages. Example:{'WaitTimeSeconds: 5, 'MaxNumberOfMessages': 5}
Also, you might override any of the parameters below from boto library (all optional):
api_version
aws_access_key_id
aws_secret_access_key
aws_session_token
endpoint_url
region_name
use_ssl
verify
Check boto3 client documentation for detailed information.
Usually, the provider are not configured manually, but set by Routes and it’s helper classes.