From 4fdaf7c1a5226c697bd83e730ae7547b276e8847 Mon Sep 17 00:00:00 2001 From: AsyncAws <61784373+async-aws-bot@users.noreply.github.com> Date: Fri, 15 Dec 2023 03:20:44 -0800 Subject: [PATCH] Update generated code (#1627) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * update generated code * Update src/Service/Firehose/CHANGELOG.md --------- Co-authored-by: Jérémy Derussé --- CHANGELOG.md | 4 ++++ composer.json | 2 +- src/Exception/InvalidSourceException.php | 12 ++++++++++++ src/FirehoseClient.php | 5 +++++ 4 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 src/Exception/InvalidSourceException.php diff --git a/CHANGELOG.md b/CHANGELOG.md index 1db5700..4acb6d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## NOT RELEASED +### Added + +- AWS api-change: Added InvalidSourceException in put operations + ## 1.1.1 ### Changed diff --git a/composer.json b/composer.json index a401230..639499c 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,7 @@ }, "extra": { "branch-alias": { - "dev-master": "1.1-dev" + "dev-master": "1.2-dev" } } } diff --git a/src/Exception/InvalidSourceException.php b/src/Exception/InvalidSourceException.php new file mode 100644 index 0000000..5f583e1 --- /dev/null +++ b/src/Exception/InvalidSourceException.php @@ -0,0 +1,12 @@ + ResourceNotFoundException::class, 'InvalidArgumentException' => InvalidArgumentException::class, 'InvalidKMSResourceException' => InvalidKMSResourceException::class, + 'InvalidSourceException' => InvalidSourceException::class, 'ServiceUnavailableException' => ServiceUnavailableException::class, ]])); @@ -158,6 +161,7 @@ public function putRecord($input): PutRecordOutput * @throws ResourceNotFoundException * @throws InvalidArgumentException * @throws InvalidKMSResourceException + * @throws InvalidSourceException * @throws ServiceUnavailableException */ public function putRecordBatch($input): PutRecordBatchOutput @@ -167,6 +171,7 @@ public function putRecordBatch($input): PutRecordBatchOutput 'ResourceNotFoundException' => ResourceNotFoundException::class, 'InvalidArgumentException' => InvalidArgumentException::class, 'InvalidKMSResourceException' => InvalidKMSResourceException::class, + 'InvalidSourceException' => InvalidSourceException::class, 'ServiceUnavailableException' => ServiceUnavailableException::class, ]]));