@@ -144,15 +144,15 @@ public function getParameter($input): GetParameterResult
144
144
* '@region'?: string|null,
145
145
* }|GetParametersRequest $input
146
146
*
147
- * @throws InvalidKeyIdException
148
147
* @throws InternalServerErrorException
148
+ * @throws InvalidKeyIdException
149
149
*/
150
150
public function getParameters ($ input ): GetParametersResult
151
151
{
152
152
$ input = GetParametersRequest::create ($ input );
153
153
$ response = $ this ->getResponse ($ input ->request (), new RequestContext (['operation ' => 'GetParameters ' , 'region ' => $ input ->getRegion (), 'exceptionMapping ' => [
154
- 'InvalidKeyId ' => InvalidKeyIdException::class,
155
154
'InternalServerError ' => InternalServerErrorException::class,
155
+ 'InvalidKeyId ' => InvalidKeyIdException::class,
156
156
]]));
157
157
158
158
return new GetParametersResult ($ response );
@@ -223,41 +223,41 @@ public function getParametersByPath($input): GetParametersByPathResult
223
223
* '@region'?: string|null,
224
224
* }|PutParameterRequest $input
225
225
*
226
- * @throws InternalServerErrorException
227
- * @throws InvalidKeyIdException
228
- * @throws ParameterLimitExceededException
229
- * @throws TooManyUpdatesException
230
- * @throws ParameterAlreadyExistsException
231
226
* @throws HierarchyLevelLimitExceededException
232
227
* @throws HierarchyTypeMismatchException
228
+ * @throws IncompatiblePolicyException
229
+ * @throws InternalServerErrorException
233
230
* @throws InvalidAllowedPatternException
231
+ * @throws InvalidKeyIdException
232
+ * @throws InvalidPolicyAttributeException
233
+ * @throws InvalidPolicyTypeException
234
+ * @throws ParameterAlreadyExistsException
235
+ * @throws ParameterLimitExceededException
234
236
* @throws ParameterMaxVersionLimitExceededException
235
237
* @throws ParameterPatternMismatchException
236
- * @throws UnsupportedParameterTypeException
237
238
* @throws PoliciesLimitExceededException
238
- * @throws InvalidPolicyTypeException
239
- * @throws InvalidPolicyAttributeException
240
- * @throws IncompatiblePolicyException
239
+ * @throws TooManyUpdatesException
240
+ * @throws UnsupportedParameterTypeException
241
241
*/
242
242
public function putParameter ($ input ): PutParameterResult
243
243
{
244
244
$ input = PutParameterRequest::create ($ input );
245
245
$ response = $ this ->getResponse ($ input ->request (), new RequestContext (['operation ' => 'PutParameter ' , 'region ' => $ input ->getRegion (), 'exceptionMapping ' => [
246
- 'InternalServerError ' => InternalServerErrorException::class,
247
- 'InvalidKeyId ' => InvalidKeyIdException::class,
248
- 'ParameterLimitExceeded ' => ParameterLimitExceededException::class,
249
- 'TooManyUpdates ' => TooManyUpdatesException::class,
250
- 'ParameterAlreadyExists ' => ParameterAlreadyExistsException::class,
251
246
'HierarchyLevelLimitExceededException ' => HierarchyLevelLimitExceededException::class,
252
247
'HierarchyTypeMismatchException ' => HierarchyTypeMismatchException::class,
248
+ 'IncompatiblePolicyException ' => IncompatiblePolicyException::class,
249
+ 'InternalServerError ' => InternalServerErrorException::class,
253
250
'InvalidAllowedPatternException ' => InvalidAllowedPatternException::class,
251
+ 'InvalidKeyId ' => InvalidKeyIdException::class,
252
+ 'InvalidPolicyAttributeException ' => InvalidPolicyAttributeException::class,
253
+ 'InvalidPolicyTypeException ' => InvalidPolicyTypeException::class,
254
+ 'ParameterAlreadyExists ' => ParameterAlreadyExistsException::class,
255
+ 'ParameterLimitExceeded ' => ParameterLimitExceededException::class,
254
256
'ParameterMaxVersionLimitExceeded ' => ParameterMaxVersionLimitExceededException::class,
255
257
'ParameterPatternMismatchException ' => ParameterPatternMismatchException::class,
256
- 'UnsupportedParameterType ' => UnsupportedParameterTypeException::class,
257
258
'PoliciesLimitExceededException ' => PoliciesLimitExceededException::class,
258
- 'InvalidPolicyTypeException ' => InvalidPolicyTypeException::class,
259
- 'InvalidPolicyAttributeException ' => InvalidPolicyAttributeException::class,
260
- 'IncompatiblePolicyException ' => IncompatiblePolicyException::class,
259
+ 'TooManyUpdates ' => TooManyUpdatesException::class,
260
+ 'UnsupportedParameterType ' => UnsupportedParameterTypeException::class,
261
261
]]));
262
262
263
263
return new PutParameterResult ($ response );
0 commit comments