Skip to content

Commit 1bf32f5

Browse files
Update generated code (#1554)
update generated code
1 parent 027629c commit 1bf32f5

File tree

3 files changed

+7
-1
lines changed

3 files changed

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

src/Service/SecretsManager/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
- Allow passing explicit null values for optional fields of input objects
88

9+
### Added
10+
11+
- AWS api-change: Add additional InvalidRequestException to list of possible exceptions for ListSecret.
12+
913
## 2.0.0
1014

1115
### BC-BREAK

src/Service/SecretsManager/src/SecretsManagerClient.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ public function getSecretValue($input): GetSecretValueResponse
288288
* }|ListSecretsRequest $input
289289
*
290290
* @throws InvalidParameterException
291+
* @throws InvalidRequestException
291292
* @throws InvalidNextTokenException
292293
* @throws InternalServiceErrorException
293294
*/
@@ -296,6 +297,7 @@ public function listSecrets($input = []): ListSecretsResponse
296297
$input = ListSecretsRequest::create($input);
297298
$response = $this->getResponse($input->request(), new RequestContext(['operation' => 'ListSecrets', 'region' => $input->getRegion(), 'exceptionMapping' => [
298299
'InvalidParameterException' => InvalidParameterException::class,
300+
'InvalidRequestException' => InvalidRequestException::class,
299301
'InvalidNextTokenException' => InvalidNextTokenException::class,
300302
'InternalServiceError' => InternalServiceErrorException::class,
301303
]]));

0 commit comments

Comments
 (0)