@@ -74,20 +74,20 @@ class FirehoseClient extends AbstractApi
74
74
* '@region'?: string|null,
75
75
* }|PutRecordInput $input
76
76
*
77
- * @throws ResourceNotFoundException
78
77
* @throws InvalidArgumentException
79
78
* @throws InvalidKMSResourceException
80
79
* @throws InvalidSourceException
80
+ * @throws ResourceNotFoundException
81
81
* @throws ServiceUnavailableException
82
82
*/
83
83
public function putRecord ($ input ): PutRecordOutput
84
84
{
85
85
$ input = PutRecordInput::create ($ input );
86
86
$ response = $ this ->getResponse ($ input ->request (), new RequestContext (['operation ' => 'PutRecord ' , 'region ' => $ input ->getRegion (), 'exceptionMapping ' => [
87
- 'ResourceNotFoundException ' => ResourceNotFoundException::class,
88
87
'InvalidArgumentException ' => InvalidArgumentException::class,
89
88
'InvalidKMSResourceException ' => InvalidKMSResourceException::class,
90
89
'InvalidSourceException ' => InvalidSourceException::class,
90
+ 'ResourceNotFoundException ' => ResourceNotFoundException::class,
91
91
'ServiceUnavailableException ' => ServiceUnavailableException::class,
92
92
]]));
93
93
@@ -165,20 +165,20 @@ public function putRecord($input): PutRecordOutput
165
165
* '@region'?: string|null,
166
166
* }|PutRecordBatchInput $input
167
167
*
168
- * @throws ResourceNotFoundException
169
168
* @throws InvalidArgumentException
170
169
* @throws InvalidKMSResourceException
171
170
* @throws InvalidSourceException
171
+ * @throws ResourceNotFoundException
172
172
* @throws ServiceUnavailableException
173
173
*/
174
174
public function putRecordBatch ($ input ): PutRecordBatchOutput
175
175
{
176
176
$ input = PutRecordBatchInput::create ($ input );
177
177
$ response = $ this ->getResponse ($ input ->request (), new RequestContext (['operation ' => 'PutRecordBatch ' , 'region ' => $ input ->getRegion (), 'exceptionMapping ' => [
178
- 'ResourceNotFoundException ' => ResourceNotFoundException::class,
179
178
'InvalidArgumentException ' => InvalidArgumentException::class,
180
179
'InvalidKMSResourceException ' => InvalidKMSResourceException::class,
181
180
'InvalidSourceException ' => InvalidSourceException::class,
181
+ 'ResourceNotFoundException ' => ResourceNotFoundException::class,
182
182
'ServiceUnavailableException ' => ServiceUnavailableException::class,
183
183
]]));
184
184
0 commit comments