This example shows how to execute an AWS SQS job using the command line.
To execute an AWS SQS job using the command line:
python setup.py install
aws configure
NOTE: Type the access ID key, secret key, default region and format, when prompted. Enter the Region based on where your created queue. For example, when creating the BMC-WJM-Q1 in eu-central-1 region, enter eu-central-1 for the default region.
EXAMPLE: For the send-message command, execute the following command (run it via OS job or batch job):
aws sqs send-message --queue-url https://sqs.eu-central-1.amazonaws.com/302634334388/BMC-WJM-Q1 --message-body "Hello world, this is a first AWS SQS message test from Irvine"
Parent Topic |