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): adictwith 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_versionaws_access_key_idaws_secret_access_keyaws_session_tokenendpoint_urlregion_nameuse_sslverify
Check boto3 client documentation for detailed information.
Usually, the provider are not configured manually, but set by Routes and it’s helper classes.