@@ -122,20 +122,20 @@ class Route53Client extends AbstractApi
122
122
* '@region'?: string|null,
123
123
* }|ChangeResourceRecordSetsRequest $input
124
124
*
125
- * @throws NoSuchHostedZoneException
126
- * @throws NoSuchHealthCheckException
127
125
* @throws InvalidChangeBatchException
128
126
* @throws InvalidInputException
127
+ * @throws NoSuchHealthCheckException
128
+ * @throws NoSuchHostedZoneException
129
129
* @throws PriorRequestNotCompleteException
130
130
*/
131
131
public function changeResourceRecordSets ($ input ): ChangeResourceRecordSetsResponse
132
132
{
133
133
$ input = ChangeResourceRecordSetsRequest::create ($ input );
134
134
$ response = $ this ->getResponse ($ input ->request (), new RequestContext (['operation ' => 'ChangeResourceRecordSets ' , 'region ' => $ input ->getRegion (), 'exceptionMapping ' => [
135
- 'NoSuchHostedZone ' => NoSuchHostedZoneException::class,
136
- 'NoSuchHealthCheck ' => NoSuchHealthCheckException::class,
137
135
'InvalidChangeBatch ' => InvalidChangeBatchException::class,
138
136
'InvalidInput ' => InvalidInputException::class,
137
+ 'NoSuchHealthCheck ' => NoSuchHealthCheckException::class,
138
+ 'NoSuchHostedZone ' => NoSuchHostedZoneException::class,
139
139
'PriorRequestNotComplete ' => PriorRequestNotCompleteException::class,
140
140
]]));
141
141
@@ -201,29 +201,29 @@ public function changeResourceRecordSets($input): ChangeResourceRecordSetsRespon
201
201
* '@region'?: string|null,
202
202
* }|CreateHostedZoneRequest $input
203
203
*
204
- * @throws InvalidDomainNameException
204
+ * @throws ConflictingDomainExistsException
205
+ * @throws DelegationSetNotAvailableException
206
+ * @throws DelegationSetNotReusableException
205
207
* @throws HostedZoneAlreadyExistsException
206
- * @throws TooManyHostedZonesException
207
- * @throws InvalidVPCIdException
208
+ * @throws InvalidDomainNameException
208
209
* @throws InvalidInputException
209
- * @throws DelegationSetNotAvailableException
210
- * @throws ConflictingDomainExistsException
210
+ * @throws InvalidVPCIdException
211
211
* @throws NoSuchDelegationSetException
212
- * @throws DelegationSetNotReusableException
212
+ * @throws TooManyHostedZonesException
213
213
*/
214
214
public function createHostedZone ($ input ): CreateHostedZoneResponse
215
215
{
216
216
$ input = CreateHostedZoneRequest::create ($ input );
217
217
$ response = $ this ->getResponse ($ input ->request (), new RequestContext (['operation ' => 'CreateHostedZone ' , 'region ' => $ input ->getRegion (), 'exceptionMapping ' => [
218
- 'InvalidDomainName ' => InvalidDomainNameException::class,
218
+ 'ConflictingDomainExists ' => ConflictingDomainExistsException::class,
219
+ 'DelegationSetNotAvailable ' => DelegationSetNotAvailableException::class,
220
+ 'DelegationSetNotReusable ' => DelegationSetNotReusableException::class,
219
221
'HostedZoneAlreadyExists ' => HostedZoneAlreadyExistsException::class,
220
- 'TooManyHostedZones ' => TooManyHostedZonesException::class,
221
- 'InvalidVPCId ' => InvalidVPCIdException::class,
222
+ 'InvalidDomainName ' => InvalidDomainNameException::class,
222
223
'InvalidInput ' => InvalidInputException::class,
223
- 'DelegationSetNotAvailable ' => DelegationSetNotAvailableException::class,
224
- 'ConflictingDomainExists ' => ConflictingDomainExistsException::class,
224
+ 'InvalidVPCId ' => InvalidVPCIdException::class,
225
225
'NoSuchDelegationSet ' => NoSuchDelegationSetException::class,
226
- 'DelegationSetNotReusable ' => DelegationSetNotReusableException ::class,
226
+ 'TooManyHostedZones ' => TooManyHostedZonesException ::class,
227
227
]]));
228
228
229
229
return new CreateHostedZoneResponse ($ response );
@@ -277,21 +277,21 @@ public function createHostedZone($input): CreateHostedZoneResponse
277
277
* '@region'?: string|null,
278
278
* }|DeleteHostedZoneRequest $input
279
279
*
280
- * @throws NoSuchHostedZoneException
281
280
* @throws HostedZoneNotEmptyException
282
- * @throws PriorRequestNotCompleteException
283
- * @throws InvalidInputException
284
281
* @throws InvalidDomainNameException
282
+ * @throws InvalidInputException
283
+ * @throws NoSuchHostedZoneException
284
+ * @throws PriorRequestNotCompleteException
285
285
*/
286
286
public function deleteHostedZone ($ input ): DeleteHostedZoneResponse
287
287
{
288
288
$ input = DeleteHostedZoneRequest::create ($ input );
289
289
$ response = $ this ->getResponse ($ input ->request (), new RequestContext (['operation ' => 'DeleteHostedZone ' , 'region ' => $ input ->getRegion (), 'exceptionMapping ' => [
290
- 'NoSuchHostedZone ' => NoSuchHostedZoneException::class,
291
290
'HostedZoneNotEmpty ' => HostedZoneNotEmptyException::class,
292
- 'PriorRequestNotComplete ' => PriorRequestNotCompleteException::class,
293
- 'InvalidInput ' => InvalidInputException::class,
294
291
'InvalidDomainName ' => InvalidDomainNameException::class,
292
+ 'InvalidInput ' => InvalidInputException::class,
293
+ 'NoSuchHostedZone ' => NoSuchHostedZoneException::class,
294
+ 'PriorRequestNotComplete ' => PriorRequestNotCompleteException::class,
295
295
]]));
296
296
297
297
return new DeleteHostedZoneResponse ($ response );
@@ -315,17 +315,17 @@ public function deleteHostedZone($input): DeleteHostedZoneResponse
315
315
* '@region'?: string|null,
316
316
* }|ListHostedZonesRequest $input
317
317
*
318
+ * @throws DelegationSetNotReusableException
318
319
* @throws InvalidInputException
319
320
* @throws NoSuchDelegationSetException
320
- * @throws DelegationSetNotReusableException
321
321
*/
322
322
public function listHostedZones ($ input = []): ListHostedZonesResponse
323
323
{
324
324
$ input = ListHostedZonesRequest::create ($ input );
325
325
$ response = $ this ->getResponse ($ input ->request (), new RequestContext (['operation ' => 'ListHostedZones ' , 'region ' => $ input ->getRegion (), 'exceptionMapping ' => [
326
+ 'DelegationSetNotReusable ' => DelegationSetNotReusableException::class,
326
327
'InvalidInput ' => InvalidInputException::class,
327
328
'NoSuchDelegationSet ' => NoSuchDelegationSetException::class,
328
- 'DelegationSetNotReusable ' => DelegationSetNotReusableException::class,
329
329
]]));
330
330
331
331
return new ListHostedZonesResponse ($ response , $ this , $ input );
@@ -382,15 +382,15 @@ public function listHostedZones($input = []): ListHostedZonesResponse
382
382
* '@region'?: string|null,
383
383
* }|ListHostedZonesByNameRequest $input
384
384
*
385
- * @throws InvalidInputException
386
385
* @throws InvalidDomainNameException
386
+ * @throws InvalidInputException
387
387
*/
388
388
public function listHostedZonesByName ($ input = []): ListHostedZonesByNameResponse
389
389
{
390
390
$ input = ListHostedZonesByNameRequest::create ($ input );
391
391
$ response = $ this ->getResponse ($ input ->request (), new RequestContext (['operation ' => 'ListHostedZonesByName ' , 'region ' => $ input ->getRegion (), 'exceptionMapping ' => [
392
- 'InvalidInput ' => InvalidInputException::class,
393
392
'InvalidDomainName ' => InvalidDomainNameException::class,
393
+ 'InvalidInput ' => InvalidInputException::class,
394
394
]]));
395
395
396
396
return new ListHostedZonesByNameResponse ($ response );
@@ -465,15 +465,15 @@ public function listHostedZonesByName($input = []): ListHostedZonesByNameRespons
465
465
* '@region'?: string|null,
466
466
* }|ListResourceRecordSetsRequest $input
467
467
*
468
- * @throws NoSuchHostedZoneException
469
468
* @throws InvalidInputException
469
+ * @throws NoSuchHostedZoneException
470
470
*/
471
471
public function listResourceRecordSets ($ input ): ListResourceRecordSetsResponse
472
472
{
473
473
$ input = ListResourceRecordSetsRequest::create ($ input );
474
474
$ response = $ this ->getResponse ($ input ->request (), new RequestContext (['operation ' => 'ListResourceRecordSets ' , 'region ' => $ input ->getRegion (), 'exceptionMapping ' => [
475
- 'NoSuchHostedZone ' => NoSuchHostedZoneException::class,
476
475
'InvalidInput ' => InvalidInputException::class,
476
+ 'NoSuchHostedZone ' => NoSuchHostedZoneException::class,
477
477
]]));
478
478
479
479
return new ListResourceRecordSetsResponse ($ response , $ this , $ input );
@@ -491,8 +491,8 @@ public function resourceRecordSetsChanged($input): ResourceRecordSetsChangedWait
491
491
{
492
492
$ input = GetChangeRequest::create ($ input );
493
493
$ response = $ this ->getResponse ($ input ->request (), new RequestContext (['operation ' => 'GetChange ' , 'region ' => $ input ->getRegion (), 'exceptionMapping ' => [
494
- 'NoSuchChange ' => NoSuchChangeException::class,
495
494
'InvalidInput ' => InvalidInputException::class,
495
+ 'NoSuchChange ' => NoSuchChangeException::class,
496
496
]]));
497
497
498
498
return new ResourceRecordSetsChangedWaiter ($ response , $ this , $ input );
0 commit comments