Closed lucix-aws closed 3 months ago
relates https://github.com/aws/aws-sdk/issues/527 closes #2250
This is a stopgap to unblock customers affected by this issue. An upstream modeling fix still needs to be pursed with the SQS team.
Fix issue where SDK could not send a VisibilityTimeout of 0 in a ChangeMessageVisibilityBatchRequestEntry.
&sqs.ChangeMessageVisibilityBatchInput{ QueueUrl: aws.String("foo"), Entries: []types.ChangeMessageVisibilityBatchRequestEntry{ { Id: aws.String("bar"), ReceiptHandle: aws.String("baz"), }, }, },
before
{"Entries":[{"Id":"bar","ReceiptHandle":"baz"}],"QueueUrl":"foo"}
after
{"Entries":[{"Id":"bar","ReceiptHandle":"baz","VisibilityTimeout":0}],"QueueUrl":"foo"}
relates https://github.com/aws/aws-sdk/issues/527 closes #2250
This is a stopgap to unblock customers affected by this issue. An upstream modeling fix still needs to be pursed with the SQS team.
Fix issue where SDK could not send a VisibilityTimeout of 0 in a ChangeMessageVisibilityBatchRequestEntry.
before
after