Skip to content

Commit 9e90887

Browse files
committed
update generated code
1 parent 0c709b9 commit 9e90887

20 files changed

+154
-113
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.339.11"
3+
"${LATEST}": "3.339.14"
44
},
55
"endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json",
66
"services": {

src/Service/RdsDataService/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+
### Added
6+
7+
- AWS api-change: Add support for Stop DB feature.
8+
59
## 2.2.1
610

711
### Changed

src/Service/RdsDataService/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
},
3030
"extra": {
3131
"branch-alias": {
32-
"dev-master": "2.2-dev"
32+
"dev-master": "2.3-dev"
3333
}
3434
}
3535
}

src/Service/RdsDataService/src/Exception/DatabaseResumingException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
use AsyncAws\Core\Exception\Http\ClientException;
66

77
/**
8-
* A request was canceled because the Aurora Serverless v2 DB instance was in a paused state. The Data API request
9-
* automatically causes the DB instance to begin resuming. Wait a few seconds and try again.
8+
* A request was cancelled because the Aurora Serverless v2 DB instance was paused. The Data API request automatically
9+
* resumes the DB instance. Wait a few seconds and try again.
1010
*/
1111
final class DatabaseResumingException extends ClientException
1212
{
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
3+
namespace AsyncAws\RdsDataService\Exception;
4+
5+
use AsyncAws\Core\Exception\Http\ClientException;
6+
7+
/**
8+
* The resource is in an invalid state.
9+
*/
10+
final class InvalidResourceStateException extends ClientException
11+
{
12+
}

src/Service/RdsDataService/src/RdsDataServiceClient.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
use AsyncAws\RdsDataService\Exception\ForbiddenException;
1818
use AsyncAws\RdsDataService\Exception\HttpEndpointNotEnabledException;
1919
use AsyncAws\RdsDataService\Exception\InternalServerErrorException;
20+
use AsyncAws\RdsDataService\Exception\InvalidResourceStateException;
2021
use AsyncAws\RdsDataService\Exception\InvalidSecretException;
2122
use AsyncAws\RdsDataService\Exception\NotFoundException;
2223
use AsyncAws\RdsDataService\Exception\SecretsErrorException;
@@ -77,6 +78,7 @@ class RdsDataServiceClient extends AbstractApi
7778
* @throws DatabaseUnavailableException
7879
* @throws TransactionNotFoundException
7980
* @throws InvalidSecretException
81+
* @throws InvalidResourceStateException
8082
* @throws ServiceUnavailableErrorException
8183
* @throws ForbiddenException
8284
* @throws DatabaseNotFoundException
@@ -96,6 +98,7 @@ public function batchExecuteStatement($input): BatchExecuteStatementResponse
9698
'DatabaseUnavailableException' => DatabaseUnavailableException::class,
9799
'TransactionNotFoundException' => TransactionNotFoundException::class,
98100
'InvalidSecretException' => InvalidSecretException::class,
101+
'InvalidResourceStateException' => InvalidResourceStateException::class,
99102
'ServiceUnavailableError' => ServiceUnavailableErrorException::class,
100103
'ForbiddenException' => ForbiddenException::class,
101104
'DatabaseNotFoundException' => DatabaseNotFoundException::class,
@@ -138,6 +141,7 @@ public function batchExecuteStatement($input): BatchExecuteStatementResponse
138141
* @throws DatabaseUnavailableException
139142
* @throws TransactionNotFoundException
140143
* @throws InvalidSecretException
144+
* @throws InvalidResourceStateException
141145
* @throws ServiceUnavailableErrorException
142146
* @throws ForbiddenException
143147
* @throws DatabaseNotFoundException
@@ -157,6 +161,7 @@ public function beginTransaction($input): BeginTransactionResponse
157161
'DatabaseUnavailableException' => DatabaseUnavailableException::class,
158162
'TransactionNotFoundException' => TransactionNotFoundException::class,
159163
'InvalidSecretException' => InvalidSecretException::class,
164+
'InvalidResourceStateException' => InvalidResourceStateException::class,
160165
'ServiceUnavailableError' => ServiceUnavailableErrorException::class,
161166
'ForbiddenException' => ForbiddenException::class,
162167
'DatabaseNotFoundException' => DatabaseNotFoundException::class,
@@ -188,6 +193,7 @@ public function beginTransaction($input): BeginTransactionResponse
188193
* @throws DatabaseUnavailableException
189194
* @throws TransactionNotFoundException
190195
* @throws InvalidSecretException
196+
* @throws InvalidResourceStateException
191197
* @throws ServiceUnavailableErrorException
192198
* @throws ForbiddenException
193199
* @throws DatabaseNotFoundException
@@ -207,6 +213,7 @@ public function commitTransaction($input): CommitTransactionResponse
207213
'DatabaseUnavailableException' => DatabaseUnavailableException::class,
208214
'TransactionNotFoundException' => TransactionNotFoundException::class,
209215
'InvalidSecretException' => InvalidSecretException::class,
216+
'InvalidResourceStateException' => InvalidResourceStateException::class,
210217
'ServiceUnavailableError' => ServiceUnavailableErrorException::class,
211218
'ForbiddenException' => ForbiddenException::class,
212219
'DatabaseNotFoundException' => DatabaseNotFoundException::class,
@@ -253,6 +260,7 @@ public function commitTransaction($input): CommitTransactionResponse
253260
* @throws DatabaseUnavailableException
254261
* @throws TransactionNotFoundException
255262
* @throws InvalidSecretException
263+
* @throws InvalidResourceStateException
256264
* @throws ServiceUnavailableErrorException
257265
* @throws ForbiddenException
258266
* @throws DatabaseNotFoundException
@@ -273,6 +281,7 @@ public function executeStatement($input): ExecuteStatementResponse
273281
'DatabaseUnavailableException' => DatabaseUnavailableException::class,
274282
'TransactionNotFoundException' => TransactionNotFoundException::class,
275283
'InvalidSecretException' => InvalidSecretException::class,
284+
'InvalidResourceStateException' => InvalidResourceStateException::class,
276285
'ServiceUnavailableError' => ServiceUnavailableErrorException::class,
277286
'ForbiddenException' => ForbiddenException::class,
278287
'DatabaseNotFoundException' => DatabaseNotFoundException::class,
@@ -305,6 +314,7 @@ public function executeStatement($input): ExecuteStatementResponse
305314
* @throws DatabaseUnavailableException
306315
* @throws TransactionNotFoundException
307316
* @throws InvalidSecretException
317+
* @throws InvalidResourceStateException
308318
* @throws ServiceUnavailableErrorException
309319
* @throws ForbiddenException
310320
* @throws DatabaseNotFoundException
@@ -324,6 +334,7 @@ public function rollbackTransaction($input): RollbackTransactionResponse
324334
'DatabaseUnavailableException' => DatabaseUnavailableException::class,
325335
'TransactionNotFoundException' => TransactionNotFoundException::class,
326336
'InvalidSecretException' => InvalidSecretException::class,
337+
'InvalidResourceStateException' => InvalidResourceStateException::class,
327338
'ServiceUnavailableError' => ServiceUnavailableErrorException::class,
328339
'ForbiddenException' => ForbiddenException::class,
329340
'DatabaseNotFoundException' => DatabaseNotFoundException::class,

src/Service/S3/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- 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.
88
- AWS api-change: Added `us-isof-east-1` and `us-isof-south-1` regions
99
- AWS api-change: Updated list of the valid AWS Region values for the LocationConstraint parameter for general purpose buckets.
10+
- AWS api-change: Added support for Content-Range header in HeadObject response.
1011

1112
## 2.7.0
1213

src/Service/S3/src/Input/CompleteMultipartUploadRequest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ final class CompleteMultipartUploadRequest extends Input
7474

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

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

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

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

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

src/Service/S3/src/Input/DeleteObjectsRequest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@ final class DeleteObjectsRequest extends Input
107107
* For the `x-amz-checksum-*algorithm*` header, replace `*algorithm*` with the supported algorithm from the following
108108
* list:
109109
*
110-
* - `CRC-32`
111-
* - `CRC-32C`
112-
* - `CRC-64NVME`
113-
* - `SHA-1`
114-
* - `SHA-256`
110+
* - `CRC32`
111+
* - `CRC32C`
112+
* - `CRC64NVME`
113+
* - `SHA1`
114+
* - `SHA256`
115115
*
116116
* For more information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
117117
*

src/Service/S3/src/Input/PutObjectRequest.php

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,11 @@ final class PutObjectRequest extends Input
173173
* For the `x-amz-checksum-*algorithm*` header, replace `*algorithm*` with the supported algorithm from the following
174174
* list:
175175
*
176-
* - `CRC-32`
177-
* - `CRC-32C`
178-
* - `CRC-64NVME`
179-
* - `SHA-1`
180-
* - `SHA-256`
176+
* - `CRC32`
177+
* - `CRC32C`
178+
* - `CRC64NVME`
179+
* - `SHA1`
180+
* - `SHA256`
181181
*
182182
* For more information, see Checking object integrity [^1] in the *Amazon S3 User Guide*.
183183
*
@@ -200,7 +200,7 @@ final class PutObjectRequest extends Input
200200

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

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

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

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

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

0 commit comments

Comments
 (0)