Skip to content

Commit

Permalink
Update generated code (#1722)
Browse files Browse the repository at this point in the history
* update generated code

* Update src/Service/LocationService/CHANGELOG.md

---------

Co-authored-by: Jérémy Derussé <[email protected]>
  • Loading branch information
async-aws-bot and jderusse authored Jun 7, 2024
1 parent a0c4617 commit 9c3d14c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Changed

- Add `Accept: application/json` header in request to fix incompatibility with 3rd party providers
- AWS enhancement: Documentation updates.

## 2.1.0

Expand Down
8 changes: 5 additions & 3 deletions src/Input/SendMessageRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ final class SendMessageRequest extends Input
/**
* The message to send. The minimum size is one character. The maximum size is 256 KiB.
*
* ! A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed:
* ! A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed. For more
* ! information, see the W3C specification for characters [^1].
* !
* ! `#x9` | `#xA` | `#xD` | `#x20` to `#xD7FF` | `#xE000` to `#xFFFD` | `#x10000` to `#x10FFFF`
* !
* ! Any characters not included in this list will be rejected. For more information, see the W3C specification for
* ! characters [^1].
* ! 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.
*
* [^1]: http://www.w3.org/TR/REC-xml/#charsets
*
Expand Down
16 changes: 10 additions & 6 deletions src/SqsClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -680,12 +680,14 @@ public function receiveMessage($input): ReceiveMessageResult
/**
* Delivers a message to the specified queue.
*
* ! A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed:
* ! A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed. For more
* ! information, see the W3C specification for characters [^1].
* !
* ! `#x9` | `#xA` | `#xD` | `#x20` to `#xD7FF` | `#xE000` to `#xFFFD` | `#x10000` to `#x10FFFF`
* !
* ! Any characters not included in this list will be rejected. For more information, see the W3C specification for
* ! characters [^1].
* ! 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.
*
* [^1]: http://www.w3.org/TR/REC-xml/#charsets
*
Expand Down Expand Up @@ -751,12 +753,14 @@ public function sendMessage($input): SendMessageResult
* The maximum allowed individual message size and the maximum total payload size (the sum of the individual lengths of
* all of the batched messages) are both 256 KiB (262,144 bytes).
*
* ! A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed:
* ! A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed. For more
* ! information, see the W3C specification for characters [^1].
* !
* ! `#x9` | `#xA` | `#xD` | `#x20` to `#xD7FF` | `#xE000` to `#xFFFD` | `#x10000` to `#x10FFFF`
* !
* ! Any characters not included in this list will be rejected. For more information, see the W3C specification for
* ! characters [^1].
* ! 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 you don't specify the `DelaySeconds` parameter for an entry, Amazon SQS uses the default value for the queue.
*
Expand Down

0 comments on commit 9c3d14c

Please sign in to comment.