Skip to content

Commit a98c434

Browse files
Update generated code (#1803)
update generated code
1 parent c52907f commit a98c434

File tree

6 files changed

+10
-7
lines changed

6 files changed

+10
-7
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
### Changed
1010

1111
- use strict comparison `null !==` instead of `!`
12+
- AWS enhancement: Documentation updates.
1213

1314
## 2.0.4
1415

src/Exception/AccessDeniedException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use AsyncAws\Core\Exception\Http\ClientException;
66

77
/**
8-
* You are not authorized to perform this action.
8+
* You do not have the necessary permissions to access the account settings.
99
*/
1010
final class AccessDeniedException extends ClientException
1111
{

src/Exception/InternalServerException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use AsyncAws\Core\Exception\Http\ClientException;
66

77
/**
8-
* The service was unable to fully process this request because of an internal server error.
8+
* An internal server error occurred while processing the request.
99
*/
1010
final class InternalServerException extends ClientException
1111
{

src/Exception/InvalidEndpointException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use AsyncAws\Core\Exception\Http\ClientException;
66

77
/**
8-
* The requested endpoint was not valid.
8+
* The requested endpoint is invalid.
99
*/
1010
final class InvalidEndpointException extends ClientException
1111
{

src/Exception/ThrottlingException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use AsyncAws\Core\Exception\Http\ClientException;
66

77
/**
8-
* The request was denied due to request throttling.
8+
* The request was throttled due to excessive requests.
99
*/
1010
final class ThrottlingException extends ClientException
1111
{

src/TimestreamQueryClient.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,14 @@ public function prepareQuery($input): PrepareQueryResponse
139139
* `Query` is a synchronous operation that enables you to run a query against your Amazon Timestream data.
140140
*
141141
* If you enabled `QueryInsights`, this API also returns insights and metrics related to the query that you executed.
142-
* `QueryInsights` helps with performance tuning of your query.
142+
* `QueryInsights` helps with performance tuning of your query. For more information about `QueryInsights`, see Using
143+
* query insights to optimize queries in Amazon Timestream [^1].
143144
*
144145
* > The maximum number of `Query` API requests you're allowed to make with `QueryInsights` enabled is 1 query per
145146
* > second (QPS). If you exceed this query rate, it might result in throttling.
146147
*
147148
* `Query` will time out after 60 seconds. You must update the default timeout in the SDK to support a timeout of 60
148-
* seconds. See the code sample [^1] for details.
149+
* seconds. See the code sample [^2] for details.
149150
*
150151
* Your query request will fail in the following cases:
151152
*
@@ -160,7 +161,8 @@ public function prepareQuery($input): PrepareQueryResponse
160161
* the result reader do not have the same query string in the query requests, the query will fail with an `Invalid
161162
* pagination token` error.
162163
*
163-
* [^1]: https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.run-query.html
164+
* [^1]: https://docs.aws.amazon.com/timestream/latest/developerguide/using-query-insights.html
165+
* [^2]: https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.run-query.html
164166
*
165167
* @see https://docs.aws.amazon.com/timestream/latest/developerguide/API_Query.html
166168
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-query.timestream-2018-11-01.html#query

0 commit comments

Comments
 (0)