Skip to content

Commit

Permalink
Update generated code (#1803)
Browse files Browse the repository at this point in the history
update generated code
  • Loading branch information
async-aws-bot authored Nov 21, 2024
1 parent c52907f commit a98c434
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
### Changed

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

## 2.0.4

Expand Down
2 changes: 1 addition & 1 deletion src/Exception/AccessDeniedException.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use AsyncAws\Core\Exception\Http\ClientException;

/**
* You are not authorized to perform this action.
* You do not have the necessary permissions to access the account settings.
*/
final class AccessDeniedException extends ClientException
{
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/InternalServerException.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use AsyncAws\Core\Exception\Http\ClientException;

/**
* The service was unable to fully process this request because of an internal server error.
* An internal server error occurred while processing the request.
*/
final class InternalServerException extends ClientException
{
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/InvalidEndpointException.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use AsyncAws\Core\Exception\Http\ClientException;

/**
* The requested endpoint was not valid.
* The requested endpoint is invalid.
*/
final class InvalidEndpointException extends ClientException
{
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/ThrottlingException.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use AsyncAws\Core\Exception\Http\ClientException;

/**
* The request was denied due to request throttling.
* The request was throttled due to excessive requests.
*/
final class ThrottlingException extends ClientException
{
Expand Down
8 changes: 5 additions & 3 deletions src/TimestreamQueryClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,14 @@ public function prepareQuery($input): PrepareQueryResponse
* `Query` is a synchronous operation that enables you to run a query against your Amazon Timestream data.
*
* If you enabled `QueryInsights`, this API also returns insights and metrics related to the query that you executed.
* `QueryInsights` helps with performance tuning of your query.
* `QueryInsights` helps with performance tuning of your query. For more information about `QueryInsights`, see Using
* query insights to optimize queries in Amazon Timestream [^1].
*
* > The maximum number of `Query` API requests you're allowed to make with `QueryInsights` enabled is 1 query per
* > second (QPS). If you exceed this query rate, it might result in throttling.
*
* `Query` will time out after 60 seconds. You must update the default timeout in the SDK to support a timeout of 60
* seconds. See the code sample [^1] for details.
* seconds. See the code sample [^2] for details.
*
* Your query request will fail in the following cases:
*
Expand All @@ -160,7 +161,8 @@ public function prepareQuery($input): PrepareQueryResponse
* the result reader do not have the same query string in the query requests, the query will fail with an `Invalid
* pagination token` error.
*
* [^1]: https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.run-query.html
* [^1]: https://docs.aws.amazon.com/timestream/latest/developerguide/using-query-insights.html
* [^2]: https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.run-query.html
*
* @see https://docs.aws.amazon.com/timestream/latest/developerguide/API_Query.html
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-query.timestream-2018-11-01.html#query
Expand Down

0 comments on commit a98c434

Please sign in to comment.