@@ -74,20 +74,20 @@ class FirehoseClient extends AbstractApi
7474 * '@region'?: string|null,
7575 * }|PutRecordInput $input
7676 *
77- * @throws ResourceNotFoundException
7877 * @throws InvalidArgumentException
7978 * @throws InvalidKMSResourceException
8079 * @throws InvalidSourceException
80+ * @throws ResourceNotFoundException
8181 * @throws ServiceUnavailableException
8282 */
8383 public function putRecord ($ input ): PutRecordOutput
8484 {
8585 $ input = PutRecordInput::create ($ input );
8686 $ response = $ this ->getResponse ($ input ->request (), new RequestContext (['operation ' => 'PutRecord ' , 'region ' => $ input ->getRegion (), 'exceptionMapping ' => [
87- 'ResourceNotFoundException ' => ResourceNotFoundException::class,
8887 'InvalidArgumentException ' => InvalidArgumentException::class,
8988 'InvalidKMSResourceException ' => InvalidKMSResourceException::class,
9089 'InvalidSourceException ' => InvalidSourceException::class,
90+ 'ResourceNotFoundException ' => ResourceNotFoundException::class,
9191 'ServiceUnavailableException ' => ServiceUnavailableException::class,
9292 ]]));
9393
@@ -165,20 +165,20 @@ public function putRecord($input): PutRecordOutput
165165 * '@region'?: string|null,
166166 * }|PutRecordBatchInput $input
167167 *
168- * @throws ResourceNotFoundException
169168 * @throws InvalidArgumentException
170169 * @throws InvalidKMSResourceException
171170 * @throws InvalidSourceException
171+ * @throws ResourceNotFoundException
172172 * @throws ServiceUnavailableException
173173 */
174174 public function putRecordBatch ($ input ): PutRecordBatchOutput
175175 {
176176 $ input = PutRecordBatchInput::create ($ input );
177177 $ response = $ this ->getResponse ($ input ->request (), new RequestContext (['operation ' => 'PutRecordBatch ' , 'region ' => $ input ->getRegion (), 'exceptionMapping ' => [
178- 'ResourceNotFoundException ' => ResourceNotFoundException::class,
179178 'InvalidArgumentException ' => InvalidArgumentException::class,
180179 'InvalidKMSResourceException ' => InvalidKMSResourceException::class,
181180 'InvalidSourceException ' => InvalidSourceException::class,
181+ 'ResourceNotFoundException ' => ResourceNotFoundException::class,
182182 'ServiceUnavailableException ' => ServiceUnavailableException::class,
183183 ]]));
184184
0 commit comments