From ddde16060e88f35539c452c70c21fa160dd99c90 Mon Sep 17 00:00:00 2001 From: AsyncAws Bot Date: Sat, 20 Sep 2025 06:30:22 +0000 Subject: [PATCH] update generated code --- manifest.json | 2 +- src/Service/Sqs/CHANGELOG.md | 4 ++++ src/Service/Sqs/src/Input/SendMessageRequest.php | 5 ++--- src/Service/Sqs/src/SqsClient.php | 10 ++++------ 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/manifest.json b/manifest.json index 12a51575a..818f352ea 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "variables": { - "${LATEST}": "3.356.19" + "${LATEST}": "3.356.22" }, "endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json", "services": { diff --git a/src/Service/Sqs/CHANGELOG.md b/src/Service/Sqs/CHANGELOG.md index 2d25298df..bee7c5fb4 100644 --- a/src/Service/Sqs/CHANGELOG.md +++ b/src/Service/Sqs/CHANGELOG.md @@ -2,6 +2,10 @@ ## NOT RELEASED +### Changed + +- AWS enhancement: Documentation updates. + ## 2.7.1 ### Changed diff --git a/src/Service/Sqs/src/Input/SendMessageRequest.php b/src/Service/Sqs/src/Input/SendMessageRequest.php index 066388b3e..249d46f86 100644 --- a/src/Service/Sqs/src/Input/SendMessageRequest.php +++ b/src/Service/Sqs/src/Input/SendMessageRequest.php @@ -31,9 +31,8 @@ final class SendMessageRequest extends Input * ! * ! `#x9` | `#xA` | `#xD` | `#x20` to `#xD7FF` | `#xE000` to `#xFFFD` | `#x10000` to `#x10FFFF` * ! - * ! Amazon SQS does not throw an exception or completely reject the message if it contains invalid characters. Instead, - * ! it replaces those invalid characters with U+FFFD before storing the message in the queue, as long as the message - * ! body contains at least one valid character. + * ! If a message contains characters outside the allowed set, Amazon SQS rejects the message and returns an + * ! InvalidMessageContents error. Ensure that your message body includes only valid characters to avoid this exception. * * [^1]: http://www.w3.org/TR/REC-xml/#charsets * diff --git a/src/Service/Sqs/src/SqsClient.php b/src/Service/Sqs/src/SqsClient.php index 4b0840499..fbc929753 100644 --- a/src/Service/Sqs/src/SqsClient.php +++ b/src/Service/Sqs/src/SqsClient.php @@ -744,9 +744,8 @@ public function receiveMessage($input): ReceiveMessageResult * ! * ! `#x9` | `#xA` | `#xD` | `#x20` to `#xD7FF` | `#xE000` to `#xFFFD` | `#x10000` to `#x10FFFF` * ! - * ! Amazon SQS does not throw an exception or completely reject the message if it contains invalid characters. Instead, - * ! it replaces those invalid characters with U+FFFD before storing the message in the queue, as long as the message - * ! body contains at least one valid character. + * ! If a message contains characters outside the allowed set, Amazon SQS rejects the message and returns an + * ! InvalidMessageContents error. Ensure that your message body includes only valid characters to avoid this exception. * * [^1]: http://www.w3.org/TR/REC-xml/#charsets * @@ -817,9 +816,8 @@ public function sendMessage($input): SendMessageResult * ! * ! `#x9` | `#xA` | `#xD` | `#x20` to `#xD7FF` | `#xE000` to `#xFFFD` | `#x10000` to `#x10FFFF` * ! - * ! Amazon SQS does not throw an exception or completely reject the message if it contains invalid characters. Instead, - * ! it replaces those invalid characters with U+FFFD before storing the message in the queue, as long as the message - * ! body contains at least one valid character. + * ! If a message contains characters outside the allowed set, Amazon SQS rejects the message and returns an + * ! InvalidMessageContents error. Ensure that your message body includes only valid characters to avoid this exception. * * If you don't specify the `DelaySeconds` parameter for an entry, Amazon SQS uses the default value for the queue. *