I am unable to configure maximumRetryAttempts for the MQ Event Source. Please review the current Configuration for the Rabbit MQ Event source attached for Amazon MQ and RabbitMQ.
{
"UUID": "c881392e-9b81-408e-a072-49e79ac1d",
"BatchSize": 10,
"MaximumBatchingWindowInSeconds": 0,
"EventSourceArn": "arn:aws:mq:ap-south-1:549135082245:broker:MedfinMQBroker:b-4e4731de-f0f2-40a8-84fa-fece864f42f0",
"FunctionArn": "arn:aws:lambda:ap-south-1:549135082:function:SmsQuickConsumerFunction",
"LastModified": "2022-08-19T14:13:10.876000+05:30",
"LastProcessingResult": "OK",
"State": "Updating",
"StateTransitionReason": "USER_INITIATED",
"Queues": [
"q.notification.sms.quick"
],
"SourceAccessConfigurations": [
{
"Type": "BASIC_AUTH",
"URI": "arn:aws:secretsmanager:ap-south-1:549135045:secret:RabbitMQ-Qf9PVQ"
},
{
"Type": "VIRTUAL_HOST",
"URI": "/"
}
] }
Please review my command and let me know where I am wrong.
Below is the command
aws lambda update-event-source-mapping
--uuid "someUUID"
--maximum-retry-attempts 10
Am getting the below error.
An error occurred (InvalidParameterValueException) when calling the UpdateEventSourceMapping operation: Invalid parameters: maximumRetryAttempts