Skip to content

Commit a992ba9

Browse files
Update generated code (#1950)
update generated code
1 parent 6f5780a commit a992ba9

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## NOT RELEASED
44

5+
### Changed
6+
7+
- AWS enhancement: Documentation updates.
8+
59
## 2.7.1
610

711
### Changed

src/Input/SendMessageRequest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@ final class SendMessageRequest extends Input
3131
* !
3232
* ! `#x9` | `#xA` | `#xD` | `#x20` to `#xD7FF` | `#xE000` to `#xFFFD` | `#x10000` to `#x10FFFF`
3333
* !
34-
* ! Amazon SQS does not throw an exception or completely reject the message if it contains invalid characters. Instead,
35-
* ! it replaces those invalid characters with U+FFFD before storing the message in the queue, as long as the message
36-
* ! body contains at least one valid character.
34+
* ! If a message contains characters outside the allowed set, Amazon SQS rejects the message and returns an
35+
* ! InvalidMessageContents error. Ensure that your message body includes only valid characters to avoid this exception.
3736
*
3837
* [^1]: http://www.w3.org/TR/REC-xml/#charsets
3938
*

src/SqsClient.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -744,9 +744,8 @@ public function receiveMessage($input): ReceiveMessageResult
744744
* !
745745
* ! `#x9` | `#xA` | `#xD` | `#x20` to `#xD7FF` | `#xE000` to `#xFFFD` | `#x10000` to `#x10FFFF`
746746
* !
747-
* ! Amazon SQS does not throw an exception or completely reject the message if it contains invalid characters. Instead,
748-
* ! it replaces those invalid characters with U+FFFD before storing the message in the queue, as long as the message
749-
* ! body contains at least one valid character.
747+
* ! If a message contains characters outside the allowed set, Amazon SQS rejects the message and returns an
748+
* ! InvalidMessageContents error. Ensure that your message body includes only valid characters to avoid this exception.
750749
*
751750
* [^1]: http://www.w3.org/TR/REC-xml/#charsets
752751
*
@@ -817,9 +816,8 @@ public function sendMessage($input): SendMessageResult
817816
* !
818817
* ! `#x9` | `#xA` | `#xD` | `#x20` to `#xD7FF` | `#xE000` to `#xFFFD` | `#x10000` to `#x10FFFF`
819818
* !
820-
* ! Amazon SQS does not throw an exception or completely reject the message if it contains invalid characters. Instead,
821-
* ! it replaces those invalid characters with U+FFFD before storing the message in the queue, as long as the message
822-
* ! body contains at least one valid character.
819+
* ! If a message contains characters outside the allowed set, Amazon SQS rejects the message and returns an
820+
* ! InvalidMessageContents error. Ensure that your message body includes only valid characters to avoid this exception.
823821
*
824822
* If you don't specify the `DelaySeconds` parameter for an entry, Amazon SQS uses the default value for the queue.
825823
*

0 commit comments

Comments
 (0)