@@ -374,14 +374,6 @@ protected function getEndpointMetadata(?string $region): array
374
374
'signService ' => 'lambda ' ,
375
375
'signVersions ' => ['v4 ' ],
376
376
];
377
- case 'us-gov-east-1 ' :
378
- case 'us-gov-west-1 ' :
379
- return [
380
- 'endpoint ' => "https://lambda. $ region.amazonaws.com " ,
381
- 'signRegion ' => $ region ,
382
- 'signService ' => 'lambda ' ,
383
- 'signVersions ' => ['v4 ' ],
384
- ];
385
377
case 'us-iso-east-1 ' :
386
378
case 'us-iso-west-1 ' :
387
379
return [
@@ -439,6 +431,48 @@ protected function getEndpointMetadata(?string $region): array
439
431
'signService ' => 'lambda ' ,
440
432
'signVersions ' => ['v4 ' ],
441
433
];
434
+ case 'us-east-1 ' :
435
+ return [
436
+ 'endpoint ' => 'https://lambda.us-east-1.amazonaws.com ' ,
437
+ 'signRegion ' => 'us-east-1 ' ,
438
+ 'signService ' => 'lambda ' ,
439
+ 'signVersions ' => ['v4 ' ],
440
+ ];
441
+ case 'us-east-2 ' :
442
+ return [
443
+ 'endpoint ' => 'https://lambda.us-east-2.amazonaws.com ' ,
444
+ 'signRegion ' => 'us-east-2 ' ,
445
+ 'signService ' => 'lambda ' ,
446
+ 'signVersions ' => ['v4 ' ],
447
+ ];
448
+ case 'us-gov-east-1 ' :
449
+ return [
450
+ 'endpoint ' => 'https://lambda.us-gov-east-1.amazonaws.com ' ,
451
+ 'signRegion ' => 'us-gov-east-1 ' ,
452
+ 'signService ' => 'lambda ' ,
453
+ 'signVersions ' => ['v4 ' ],
454
+ ];
455
+ case 'us-gov-west-1 ' :
456
+ return [
457
+ 'endpoint ' => 'https://lambda.us-gov-west-1.amazonaws.com ' ,
458
+ 'signRegion ' => 'us-gov-west-1 ' ,
459
+ 'signService ' => 'lambda ' ,
460
+ 'signVersions ' => ['v4 ' ],
461
+ ];
462
+ case 'us-west-1 ' :
463
+ return [
464
+ 'endpoint ' => 'https://lambda.us-west-1.amazonaws.com ' ,
465
+ 'signRegion ' => 'us-west-1 ' ,
466
+ 'signService ' => 'lambda ' ,
467
+ 'signVersions ' => ['v4 ' ],
468
+ ];
469
+ case 'us-west-2 ' :
470
+ return [
471
+ 'endpoint ' => 'https://lambda.us-west-2.amazonaws.com ' ,
472
+ 'signRegion ' => 'us-west-2 ' ,
473
+ 'signService ' => 'lambda ' ,
474
+ 'signVersions ' => ['v4 ' ],
475
+ ];
442
476
}
443
477
444
478
return [
0 commit comments