Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"variables": {
"${LATEST}": "3.328.0"
"${LATEST}": "3.328.1"
},
"endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json",
"services": {
Expand Down
4 changes: 4 additions & 0 deletions src/Service/RdsDataService/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## NOT RELEASED

### Added

- AWS api-change: Add support for the automatic pause/resume feature of Aurora Serverless v2.

## 2.1.3

### Changed
Expand Down
2 changes: 1 addition & 1 deletion src/Service/RdsDataService/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"
"dev-master": "2.2-dev"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

namespace AsyncAws\RdsDataService\Exception;

use AsyncAws\Core\Exception\Http\ClientException;

/**
* A request was canceled because the Aurora Serverless v2 DB instance was in a paused state. The Data API request
* automatically causes the DB instance to begin resuming. Wait a few seconds and try again.
*/
final class DatabaseResumingException extends ClientException
{
}
7 changes: 7 additions & 0 deletions src/Service/RdsDataService/src/RdsDataServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
use AsyncAws\RdsDataService\Exception\BadRequestException;
use AsyncAws\RdsDataService\Exception\DatabaseErrorException;
use AsyncAws\RdsDataService\Exception\DatabaseNotFoundException;
use AsyncAws\RdsDataService\Exception\DatabaseResumingException;
use AsyncAws\RdsDataService\Exception\DatabaseUnavailableException;
use AsyncAws\RdsDataService\Exception\ForbiddenException;
use AsyncAws\RdsDataService\Exception\HttpEndpointNotEnabledException;
Expand Down Expand Up @@ -72,6 +73,7 @@ class RdsDataServiceClient extends AbstractApi
* @throws SecretsErrorException
* @throws HttpEndpointNotEnabledException
* @throws DatabaseErrorException
* @throws DatabaseResumingException
* @throws DatabaseUnavailableException
* @throws TransactionNotFoundException
* @throws InvalidSecretException
Expand All @@ -90,6 +92,7 @@ public function batchExecuteStatement($input): BatchExecuteStatementResponse
'SecretsErrorException' => SecretsErrorException::class,
'HttpEndpointNotEnabledException' => HttpEndpointNotEnabledException::class,
'DatabaseErrorException' => DatabaseErrorException::class,
'DatabaseResumingException' => DatabaseResumingException::class,
'DatabaseUnavailableException' => DatabaseUnavailableException::class,
'TransactionNotFoundException' => TransactionNotFoundException::class,
'InvalidSecretException' => InvalidSecretException::class,
Expand Down Expand Up @@ -131,6 +134,7 @@ public function batchExecuteStatement($input): BatchExecuteStatementResponse
* @throws SecretsErrorException
* @throws HttpEndpointNotEnabledException
* @throws DatabaseErrorException
* @throws DatabaseResumingException
* @throws DatabaseUnavailableException
* @throws TransactionNotFoundException
* @throws InvalidSecretException
Expand All @@ -149,6 +153,7 @@ public function beginTransaction($input): BeginTransactionResponse
'SecretsErrorException' => SecretsErrorException::class,
'HttpEndpointNotEnabledException' => HttpEndpointNotEnabledException::class,
'DatabaseErrorException' => DatabaseErrorException::class,
'DatabaseResumingException' => DatabaseResumingException::class,
'DatabaseUnavailableException' => DatabaseUnavailableException::class,
'TransactionNotFoundException' => TransactionNotFoundException::class,
'InvalidSecretException' => InvalidSecretException::class,
Expand Down Expand Up @@ -244,6 +249,7 @@ public function commitTransaction($input): CommitTransactionResponse
* @throws SecretsErrorException
* @throws HttpEndpointNotEnabledException
* @throws DatabaseErrorException
* @throws DatabaseResumingException
* @throws DatabaseUnavailableException
* @throws TransactionNotFoundException
* @throws InvalidSecretException
Expand All @@ -263,6 +269,7 @@ public function executeStatement($input): ExecuteStatementResponse
'SecretsErrorException' => SecretsErrorException::class,
'HttpEndpointNotEnabledException' => HttpEndpointNotEnabledException::class,
'DatabaseErrorException' => DatabaseErrorException::class,
'DatabaseResumingException' => DatabaseResumingException::class,
'DatabaseUnavailableException' => DatabaseUnavailableException::class,
'TransactionNotFoundException' => TransactionNotFoundException::class,
'InvalidSecretException' => InvalidSecretException::class,
Expand Down