Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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.339.11"
"${LATEST}": "3.339.14"
},
"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 Stop DB feature.

## 2.2.1

### 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.2-dev"
"dev-master": "2.3-dev"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
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.
* A request was cancelled because the Aurora Serverless v2 DB instance was paused. The Data API request automatically
* resumes the DB instance. Wait a few seconds and try again.
*/
final class DatabaseResumingException extends ClientException
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

namespace AsyncAws\RdsDataService\Exception;

use AsyncAws\Core\Exception\Http\ClientException;

/**
* The resource is in an invalid state.
*/
final class InvalidResourceStateException extends ClientException
{
}
11 changes: 11 additions & 0 deletions src/Service/RdsDataService/src/RdsDataServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
use AsyncAws\RdsDataService\Exception\ForbiddenException;
use AsyncAws\RdsDataService\Exception\HttpEndpointNotEnabledException;
use AsyncAws\RdsDataService\Exception\InternalServerErrorException;
use AsyncAws\RdsDataService\Exception\InvalidResourceStateException;
use AsyncAws\RdsDataService\Exception\InvalidSecretException;
use AsyncAws\RdsDataService\Exception\NotFoundException;
use AsyncAws\RdsDataService\Exception\SecretsErrorException;
Expand Down Expand Up @@ -77,6 +78,7 @@ class RdsDataServiceClient extends AbstractApi
* @throws DatabaseUnavailableException
* @throws TransactionNotFoundException
* @throws InvalidSecretException
* @throws InvalidResourceStateException
* @throws ServiceUnavailableErrorException
* @throws ForbiddenException
* @throws DatabaseNotFoundException
Expand All @@ -96,6 +98,7 @@ public function batchExecuteStatement($input): BatchExecuteStatementResponse
'DatabaseUnavailableException' => DatabaseUnavailableException::class,
'TransactionNotFoundException' => TransactionNotFoundException::class,
'InvalidSecretException' => InvalidSecretException::class,
'InvalidResourceStateException' => InvalidResourceStateException::class,
'ServiceUnavailableError' => ServiceUnavailableErrorException::class,
'ForbiddenException' => ForbiddenException::class,
'DatabaseNotFoundException' => DatabaseNotFoundException::class,
Expand Down Expand Up @@ -138,6 +141,7 @@ public function batchExecuteStatement($input): BatchExecuteStatementResponse
* @throws DatabaseUnavailableException
* @throws TransactionNotFoundException
* @throws InvalidSecretException
* @throws InvalidResourceStateException
* @throws ServiceUnavailableErrorException
* @throws ForbiddenException
* @throws DatabaseNotFoundException
Expand All @@ -157,6 +161,7 @@ public function beginTransaction($input): BeginTransactionResponse
'DatabaseUnavailableException' => DatabaseUnavailableException::class,
'TransactionNotFoundException' => TransactionNotFoundException::class,
'InvalidSecretException' => InvalidSecretException::class,
'InvalidResourceStateException' => InvalidResourceStateException::class,
'ServiceUnavailableError' => ServiceUnavailableErrorException::class,
'ForbiddenException' => ForbiddenException::class,
'DatabaseNotFoundException' => DatabaseNotFoundException::class,
Expand Down Expand Up @@ -188,6 +193,7 @@ public function beginTransaction($input): BeginTransactionResponse
* @throws DatabaseUnavailableException
* @throws TransactionNotFoundException
* @throws InvalidSecretException
* @throws InvalidResourceStateException
* @throws ServiceUnavailableErrorException
* @throws ForbiddenException
* @throws DatabaseNotFoundException
Expand All @@ -207,6 +213,7 @@ public function commitTransaction($input): CommitTransactionResponse
'DatabaseUnavailableException' => DatabaseUnavailableException::class,
'TransactionNotFoundException' => TransactionNotFoundException::class,
'InvalidSecretException' => InvalidSecretException::class,
'InvalidResourceStateException' => InvalidResourceStateException::class,
'ServiceUnavailableError' => ServiceUnavailableErrorException::class,
'ForbiddenException' => ForbiddenException::class,
'DatabaseNotFoundException' => DatabaseNotFoundException::class,
Expand Down Expand Up @@ -253,6 +260,7 @@ public function commitTransaction($input): CommitTransactionResponse
* @throws DatabaseUnavailableException
* @throws TransactionNotFoundException
* @throws InvalidSecretException
* @throws InvalidResourceStateException
* @throws ServiceUnavailableErrorException
* @throws ForbiddenException
* @throws DatabaseNotFoundException
Expand All @@ -273,6 +281,7 @@ public function executeStatement($input): ExecuteStatementResponse
'DatabaseUnavailableException' => DatabaseUnavailableException::class,
'TransactionNotFoundException' => TransactionNotFoundException::class,
'InvalidSecretException' => InvalidSecretException::class,
'InvalidResourceStateException' => InvalidResourceStateException::class,
'ServiceUnavailableError' => ServiceUnavailableErrorException::class,
'ForbiddenException' => ForbiddenException::class,
'DatabaseNotFoundException' => DatabaseNotFoundException::class,
Expand Down Expand Up @@ -305,6 +314,7 @@ public function executeStatement($input): ExecuteStatementResponse
* @throws DatabaseUnavailableException
* @throws TransactionNotFoundException
* @throws InvalidSecretException
* @throws InvalidResourceStateException
* @throws ServiceUnavailableErrorException
* @throws ForbiddenException
* @throws DatabaseNotFoundException
Expand All @@ -324,6 +334,7 @@ public function rollbackTransaction($input): RollbackTransactionResponse
'DatabaseUnavailableException' => DatabaseUnavailableException::class,
'TransactionNotFoundException' => TransactionNotFoundException::class,
'InvalidSecretException' => InvalidSecretException::class,
'InvalidResourceStateException' => InvalidResourceStateException::class,
'ServiceUnavailableError' => ServiceUnavailableErrorException::class,
'ForbiddenException' => ForbiddenException::class,
'DatabaseNotFoundException' => DatabaseNotFoundException::class,
Expand Down
1 change: 1 addition & 0 deletions src/Service/S3/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- AWS api-change: This change enhances integrity protections for new SDK requests to S3. S3 SDKs now support the CRC64NVME checksum algorithm, full object checksums for multipart S3 objects, and new default integrity protections for S3 requests.
- AWS api-change: Added `us-isof-east-1` and `us-isof-south-1` regions
- AWS api-change: Updated list of the valid AWS Region values for the LocationConstraint parameter for general purpose buckets.
- AWS api-change: Added support for Content-Range header in HeadObject response.

## 2.7.0

Expand Down
16 changes: 8 additions & 8 deletions src/Service/S3/src/Input/CompleteMultipartUploadRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ final class CompleteMultipartUploadRequest extends Input

/**
* This header can be used as a data integrity check to verify that the data received is the same data that was
* originally sent. This header specifies the Base64 encoded, 32-bit `CRC-32` checksum of the object. For more
* originally sent. This header specifies the Base64 encoded, 32-bit `CRC32` checksum of the object. For more
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
*
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
Expand All @@ -85,7 +85,7 @@ final class CompleteMultipartUploadRequest extends Input

/**
* This header can be used as a data integrity check to verify that the data received is the same data that was
* originally sent. This header specifies the Base64 encoded, 32-bit `CRC-32C` checksum of the object. For more
* originally sent. This header specifies the Base64 encoded, 32-bit `CRC32C` checksum of the object. For more
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
*
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
Expand All @@ -96,9 +96,9 @@ final class CompleteMultipartUploadRequest extends Input

/**
* This header can be used as a data integrity check to verify that the data received is the same data that was
* originally sent. This header specifies the Base64 encoded, 64-bit `CRC-64NVME` checksum of the object. The
* `CRC-64NVME` checksum is always a full object checksum. For more information, see Checking object integrity in the
* Amazon S3 User Guide [^1].
* originally sent. This header specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the object. The `CRC64NVME`
* checksum is always a full object checksum. For more information, see Checking object integrity in the Amazon S3 User
* Guide [^1].
*
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
*
Expand All @@ -108,8 +108,8 @@ final class CompleteMultipartUploadRequest extends Input

/**
* This header can be used as a data integrity check to verify that the data received is the same data that was
* originally sent. This header specifies the Base64 encoded, 160-bit `SHA-1` digest of the object. For more
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
* originally sent. This header specifies the Base64 encoded, 160-bit `SHA1` digest of the object. For more information,
* see Checking object integrity [^1] in the *Amazon S3 User Guide*.
*
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
*
Expand All @@ -119,7 +119,7 @@ final class CompleteMultipartUploadRequest extends Input

/**
* This header can be used as a data integrity check to verify that the data received is the same data that was
* originally sent. This header specifies the Base64 encoded, 256-bit `SHA-256` digest of the object. For more
* originally sent. This header specifies the Base64 encoded, 256-bit `SHA256` digest of the object. For more
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
*
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
Expand Down
10 changes: 5 additions & 5 deletions src/Service/S3/src/Input/DeleteObjectsRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,11 @@ final class DeleteObjectsRequest extends Input
* For the `x-amz-checksum-*algorithm*` header, replace `*algorithm*` with the supported algorithm from the following
* list:
*
* - `CRC-32`
* - `CRC-32C`
* - `CRC-64NVME`
* - `SHA-1`
* - `SHA-256`
* - `CRC32`
* - `CRC32C`
* - `CRC64NVME`
* - `SHA1`
* - `SHA256`
*
* For more information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
*
Expand Down
26 changes: 13 additions & 13 deletions src/Service/S3/src/Input/PutObjectRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,11 @@ final class PutObjectRequest extends Input
* For the `x-amz-checksum-*algorithm*` header, replace `*algorithm*` with the supported algorithm from the following
* list:
*
* - `CRC-32`
* - `CRC-32C`
* - `CRC-64NVME`
* - `SHA-1`
* - `SHA-256`
* - `CRC32`
* - `CRC32C`
* - `CRC64NVME`
* - `SHA1`
* - `SHA256`
*
* For more information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
*
Expand All @@ -200,7 +200,7 @@ final class PutObjectRequest extends Input

/**
* This header can be used as a data integrity check to verify that the data received is the same data that was
* originally sent. This header specifies the Base64 encoded, 32-bit `CRC-32` checksum of the object. For more
* originally sent. This header specifies the Base64 encoded, 32-bit `CRC32` checksum of the object. For more
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
*
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
Expand All @@ -211,7 +211,7 @@ final class PutObjectRequest extends Input

/**
* This header can be used as a data integrity check to verify that the data received is the same data that was
* originally sent. This header specifies the Base64 encoded, 32-bit `CRC-32C` checksum of the object. For more
* originally sent. This header specifies the Base64 encoded, 32-bit `CRC32C` checksum of the object. For more
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
*
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
Expand All @@ -222,9 +222,9 @@ final class PutObjectRequest extends Input

/**
* This header can be used as a data integrity check to verify that the data received is the same data that was
* originally sent. This header specifies the Base64 encoded, 64-bit `CRC-64NVME` checksum of the object. The
* `CRC-64NVME` checksum is always a full object checksum. For more information, see Checking object integrity in the
* Amazon S3 User Guide [^1].
* originally sent. This header specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the object. The `CRC64NVME`
* checksum is always a full object checksum. For more information, see Checking object integrity in the Amazon S3 User
* Guide [^1].
*
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
*
Expand All @@ -234,8 +234,8 @@ final class PutObjectRequest extends Input

/**
* This header can be used as a data integrity check to verify that the data received is the same data that was
* originally sent. This header specifies the Base64 encoded, 160-bit `SHA-1` digest of the object. For more
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
* originally sent. This header specifies the Base64 encoded, 160-bit `SHA1` digest of the object. For more information,
* see Checking object integrity [^1] in the *Amazon S3 User Guide*.
*
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
*
Expand All @@ -245,7 +245,7 @@ final class PutObjectRequest extends Input

/**
* This header can be used as a data integrity check to verify that the data received is the same data that was
* originally sent. This header specifies the Base64 encoded, 256-bit `SHA-256` digest of the object. For more
* originally sent. This header specifies the Base64 encoded, 256-bit `SHA256` digest of the object. For more
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
*
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
Expand Down
12 changes: 6 additions & 6 deletions src/Service/S3/src/Input/UploadPartRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ final class UploadPartRequest extends Input

/**
* This header can be used as a data integrity check to verify that the data received is the same data that was
* originally sent. This header specifies the Base64 encoded, 32-bit `CRC-32` checksum of the object. For more
* originally sent. This header specifies the Base64 encoded, 32-bit `CRC32` checksum of the object. For more
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
*
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
Expand All @@ -100,7 +100,7 @@ final class UploadPartRequest extends Input

/**
* This header can be used as a data integrity check to verify that the data received is the same data that was
* originally sent. This header specifies the Base64 encoded, 32-bit `CRC-32C` checksum of the object. For more
* originally sent. This header specifies the Base64 encoded, 32-bit `CRC32C` checksum of the object. For more
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
*
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
Expand All @@ -111,7 +111,7 @@ final class UploadPartRequest extends Input

/**
* This header can be used as a data integrity check to verify that the data received is the same data that was
* originally sent. This header specifies the Base64 encoded, 64-bit `CRC-64NVME` checksum of the part. For more
* originally sent. This header specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the part. For more
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
*
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
Expand All @@ -122,8 +122,8 @@ final class UploadPartRequest extends Input

/**
* This header can be used as a data integrity check to verify that the data received is the same data that was
* originally sent. This header specifies the Base64 encoded, 160-bit `SHA-1` digest of the object. For more
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
* originally sent. This header specifies the Base64 encoded, 160-bit `SHA1` digest of the object. For more information,
* see Checking object integrity [^1] in the *Amazon S3 User Guide*.
*
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
*
Expand All @@ -133,7 +133,7 @@ final class UploadPartRequest extends Input

/**
* This header can be used as a data integrity check to verify that the data received is the same data that was
* originally sent. This header specifies the Base64 encoded, 256-bit `SHA-256` digest of the object. For more
* originally sent. This header specifies the Base64 encoded, 256-bit `SHA256` digest of the object. For more
* information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
*
* [^1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
Expand Down
Loading