AWS sns: SNS DLQ doc: minor wording edits to error and metric text
Summary
Editorial changes only: replaced 'as a result of' and 'due to' with 'because of' in descriptions of client-side delivery errors and CloudWatch DLQ monitoring metrics.
Security assessment
The only change is a grammatical substitution ('as a result of'/'due to' to 'because of'). The surrounding content about DLQ monitoring and client-side errors is unchanged, so there is no security-relevant modification.
Evidence
+Client-side errors can happen when Amazon SNS has stale subscription metadata. These errors commonly occur when an owner deletes the endpoint (for example, a Lambda function subscribed to an Amazon SNS topic) or when an owner changes the policy attached to the subscribed endpoint in a way that prevents Amazon SNS from delivering messages to the endpoint. Amazon SNS doesn't retry the message delivery that fails because of a client-side error.
Diff
diff --git a/sns/latest/dg/sns-dead-letter-queues.md b/sns/latest/dg/sns-dead-letter-queues.md index 5ff8935ca..254ff4fb0 100644 --- a//sns/latest/dg/sns-dead-letter-queues.md +++ b//sns/latest/dg/sns-dead-letter-queues.md @@ -30 +30 @@ In general, message delivery fails when Amazon SNS can't access a subscribed end -Client-side errors can happen when Amazon SNS has stale subscription metadata. These errors commonly occur when an owner deletes the endpoint (for example, a Lambda function subscribed to an Amazon SNS topic) or when an owner changes the policy attached to the subscribed endpoint in a way that prevents Amazon SNS from delivering messages to the endpoint. Amazon SNS doesn't retry the message delivery that fails as a result of a client-side error. +Client-side errors can happen when Amazon SNS has stale subscription metadata. These errors commonly occur when an owner deletes the endpoint (for example, a Lambda function subscribed to an Amazon SNS topic) or when an owner changes the policy attached to the subscribed endpoint in a way that prevents Amazon SNS from delivering messages to the endpoint. Amazon SNS doesn't retry the message delivery that fails because of a client-side error. @@ -70 +70 @@ You can use Amazon CloudWatch metrics to monitor dead-letter queues associated w -To be notified of activity in your dead-letter queues, you can use CloudWatch metrics and alarms. Setting up an alarm for the `NumberOfMessagesSent` metric is not suitable because this metric does not capture messages sent to a DLQ as a result of failed processing attempts. Instead, use the `ApproximateNumberOfMessagesVisible` metric, which captures all messages currently available in the DLQ, including those moved due to processing failures. +To be notified of activity in your dead-letter queues, you can use CloudWatch metrics and alarms. Setting up an alarm for the `NumberOfMessagesSent` metric is not suitable because this metric does not capture messages sent to a DLQ because of failed processing attempts. Instead, use the `ApproximateNumberOfMessagesVisible` metric, which captures all messages currently available in the DLQ, including those moved due to processing failures.