@page "/monitor-dlq" @using System.Timers @using Amazon.Lambda.TestTool.Runtime @using Amazon.Lambda.TestTool.BlazorTester.Models @implements IDisposable @inject LocalLambdaOptions LambdaOptions @inject IModalService Modal
An Amazon SQS queue can be designated as the dead letter queue for a Lambda function. When Lambda functions fail to handle an asynchronous request, like an Amazon S3 or Amazon DynamoDB Stream event, the failed request is sent to the queue.
When monitoring is enabled the @Constants.PRODUCT_NAME will read the request from the queue and begin executing it within your debugging environment.
Time | Logs | Error | Event | ||||
---|---|---|---|---|---|---|---|
@log.ProcessTime | @if (string.IsNullOrEmpty(log.Logs) || log.Logs.Length <= MAX_LOG_TABLE_TEXT_LENGTH) {@FormatForLogTable(log.Logs) | } else {ShowExpandedText(log.Logs)">@FormatForLogTable(log.Logs) | } @if (string.IsNullOrEmpty(log.Error) || log.Error.Length <= MAX_LOG_TABLE_TEXT_LENGTH) {@FormatForLogTable(log.Error) | } else {ShowExpandedText(log.Error)">@FormatForLogTable(log.Error) | } @if (string.IsNullOrEmpty(log.Event) || log.Event.Length <= MAX_LOG_TABLE_TEXT_LENGTH) {@FormatForLogTable(log.Event) | } else {ShowExpandedText(log.Event)">@FormatForLogTable(log.Event) | }