import json
import boto3
client = boto3.client('sqs')
def lambda_handler(event, context):
message = client.send_message(
QueueUrl='<https://sqs.ap-northeast-2.amazonaws.com/323974325951/test.fifo>',
MessageBody=("Message Body"),
MessageGroupId="abcd")
return {
'statusCode': 200,
'body': json.dumps(message)
}