Skip to content

Commit d5a7189

Browse files
committed
update generated code
1 parent d4999de commit d5a7189

File tree

7 files changed

+60
-21
lines changed

7 files changed

+60
-21
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"variables": {
3-
"${LATEST}": "3.337.1"
3+
"${LATEST}": "3.337.3"
44
},
55
"endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json",
66
"services": {

src/Service/CloudWatchLogs/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.4.0
610

711
### Added

src/Service/CloudWatchLogs/src/CloudWatchLogsClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public function createLogStream($input): Result
138138
* You can specify the log group to search by using either `logGroupIdentifier` or `logGroupName`. You must include one
139139
* of these two parameters, but you can't include both.
140140
*
141-
* This operation has a limit of five transactions per second, after which transactions are throttled.
141+
* This operation has a limit of 25 transactions per second, after which transactions are throttled.
142142
*
143143
* If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and view
144144
* data from the linked source accounts. For more information, see CloudWatch cross-account observability [^1].

src/Service/Sns/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
## 1.7.5
610

711
### Changed

src/Service/Sns/src/Input/CreateTopicInput.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,23 @@ final class CreateTopicInput extends Input
6666
* (Optional) To override the generated value, you can specify a value for the `MessageDeduplicationId` parameter
6767
* for the `Publish` action.
6868
*
69+
*
70+
* - `FifoThroughputScope` – Enables higher throughput for your FIFO topic by adjusting the scope of deduplication.
71+
* This attribute has two possible values:
72+
*
73+
* - `Topic` – The scope of message deduplication is across the entire topic. This is the default value and
74+
* maintains existing behavior, with a maximum throughput of 3000 messages per second or 20MB per second, whichever
75+
* comes first.
76+
* - `MessageGroup` – The scope of deduplication is within each individual message group, which enables higher
77+
* throughput per topic subject to regional quotas. For more information on quotas or to request an increase, see
78+
* Amazon SNS service quotas [^6] in the Amazon Web Services General Reference.
79+
*
6980
* [^1]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html
7081
* [^2]: https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html#sse-key-terms
7182
* [^3]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters
7283
* [^4]: https://docs.aws.amazon.com/sns/latest/dg/sns-fifo-topics.html
7384
* [^5]: https://docs.aws.amazon.com/sns/latest/api/API_Publish.html
85+
* [^6]: https://docs.aws.amazon.com/general/latest/gr/sns.html
7486
*
7587
* @var array<string, string>|null
7688
*/

src/Service/Sns/src/Input/PublishInput.php

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,32 @@ final class PublishInput extends Input
116116
private $messageAttributes;
117117

118118
/**
119-
* This parameter applies only to FIFO (first-in-first-out) topics. The `MessageDeduplicationId` can contain up to 128
120-
* alphanumeric characters `(a-z, A-Z, 0-9)` and punctuation `(!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~)`.
119+
* - This parameter applies only to FIFO (first-in-first-out) topics. The `MessageDeduplicationId` can contain up to 128
120+
* alphanumeric characters `(a-z, A-Z, 0-9)` and punctuation `(!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~)`.
121+
* - Every message must have a unique `MessageDeduplicationId`, which is a token used for deduplication of sent messages
122+
* within the 5 minute minimum deduplication interval.
123+
* - The scope of deduplication depends on the `FifoThroughputScope` attribute, when set to `Topic` the message
124+
* deduplication scope is across the entire topic, when set to `MessageGroup` the message deduplication scope is
125+
* within each individual message group.
126+
* - If a message with a particular `MessageDeduplicationId` is sent successfully, subsequent messages within the
127+
* deduplication scope and interval, with the same `MessageDeduplicationId`, are accepted successfully but aren't
128+
* delivered.
129+
* - Every message must have a unique `MessageDeduplicationId`:
121130
*
122-
* Every message must have a unique `MessageDeduplicationId`, which is a token used for deduplication of sent messages.
123-
* If a message with a particular `MessageDeduplicationId` is sent successfully, any message sent with the same
124-
* `MessageDeduplicationId` during the 5-minute deduplication interval is treated as a duplicate.
131+
* - You may provide a `MessageDeduplicationId` explicitly.
132+
* - If you aren't able to provide a `MessageDeduplicationId` and you enable `ContentBasedDeduplication` for your
133+
* topic, Amazon SNS uses a SHA-256 hash to generate the `MessageDeduplicationId` using the body of the message (but
134+
* not the attributes of the message).
135+
* - If you don't provide a `MessageDeduplicationId` and the topic doesn't have `ContentBasedDeduplication` set, the
136+
* action fails with an error.
137+
* - If the topic has a `ContentBasedDeduplication` set, your `MessageDeduplicationId` overrides the generated one.
125138
*
126-
* If the topic has `ContentBasedDeduplication` set, the system generates a `MessageDeduplicationId` based on the
127-
* contents of the message. Your `MessageDeduplicationId` overrides the generated one.
139+
* - When `ContentBasedDeduplication` is in effect, messages with identical content sent within the deduplication scope
140+
* and interval are treated as duplicates and only one copy of the message is delivered.
141+
* - If you send one message with `ContentBasedDeduplication` enabled, and then another message with a
142+
* `MessageDeduplicationId` that is the same as the one generated for the first `MessageDeduplicationId`, the two
143+
* messages are treated as duplicates, within the deduplication scope and interval, and only one copy of the message
144+
* is delivered.
128145
*
129146
* @var string|null
130147
*/

src/Service/Sns/src/ValueObject/PublishBatchRequestEntry.php

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,16 @@ final class PublishBatchRequestEntry
6363
/**
6464
* This parameter applies only to FIFO (first-in-first-out) topics.
6565
*
66-
* The token used for deduplication of messages within a 5-minute minimum deduplication interval. If a message with a
67-
* particular `MessageDeduplicationId` is sent successfully, subsequent messages with the same `MessageDeduplicationId`
68-
* are accepted successfully but aren't delivered.
69-
*
66+
* - This parameter applies only to FIFO (first-in-first-out) topics. The `MessageDeduplicationId` can contain up to 128
67+
* alphanumeric characters `(a-z, A-Z, 0-9)` and punctuation `(!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~)`.
68+
* - Every message must have a unique `MessageDeduplicationId`, which is a token used for deduplication of sent messages
69+
* within the 5 minute minimum deduplication interval.
70+
* - The scope of deduplication depends on the `FifoThroughputScope` attribute, when set to `Topic` the message
71+
* deduplication scope is across the entire topic, when set to `MessageGroup` the message deduplication scope is
72+
* within each individual message group.
73+
* - If a message with a particular `MessageDeduplicationId` is sent successfully, subsequent messages within the
74+
* deduplication scope and interval, with the same `MessageDeduplicationId`, are accepted successfully but aren't
75+
* delivered.
7076
* - Every message must have a unique `MessageDeduplicationId`.
7177
*
7278
* - You may provide a `MessageDeduplicationId` explicitly.
@@ -77,11 +83,12 @@ final class PublishBatchRequestEntry
7783
* action fails with an error.
7884
* - If the topic has a `ContentBasedDeduplication` set, your `MessageDeduplicationId` overrides the generated one.
7985
*
80-
* - When `ContentBasedDeduplication` is in effect, messages with identical content sent within the deduplication
81-
* interval are treated as duplicates and only one copy of the message is delivered.
86+
* - When `ContentBasedDeduplication` is in effect, messages with identical content sent within the deduplication scope
87+
* and interval are treated as duplicates and only one copy of the message is delivered.
8288
* - If you send one message with `ContentBasedDeduplication` enabled, and then another message with a
8389
* `MessageDeduplicationId` that is the same as the one generated for the first `MessageDeduplicationId`, the two
84-
* messages are treated as duplicates and only one copy of the message is delivered.
90+
* messages are treated as duplicates, within the deduplication scope and interval, and only one copy of the message
91+
* is delivered.
8592
*
8693
* > The `MessageDeduplicationId` is available to the consumer of the message (this can be useful for troubleshooting
8794
* > delivery issues).
@@ -91,11 +98,6 @@ final class PublishBatchRequestEntry
9198
* >
9299
* > Amazon SNS continues to keep track of the message deduplication ID even after the message is received and deleted.
93100
*
94-
* The length of `MessageDeduplicationId` is 128 characters.
95-
*
96-
* `MessageDeduplicationId` can contain alphanumeric characters `(a-z, A-Z, 0-9)` and punctuation
97-
* `(!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~)`.
98-
*
99101
* @var string|null
100102
*/
101103
private $messageDeduplicationId;

0 commit comments

Comments
 (0)