Return value of the TypeScript code snippet was incorrect as it was just an array.
This PR fixes the incorrect return value and changes the return type to DynamoDBBatchResponse as a guardrail, as implementing this type would have highlighted the issue with the return value in an editor.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Return value of the TypeScript code snippet was incorrect as it was just an array.
This PR fixes the incorrect return value and changes the return type to DynamoDBBatchResponse as a guardrail, as implementing this type would have highlighted the issue with the return value in an editor.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.