@@ -195,8 +195,8 @@ protected function getEndpointMetadata(?string $region): array
195195 ];
196196 case 'us-isob-east-1 ' :
197197 return [
198- 'endpoint ' => " https://states. $ region .sc2s.sgov.gov " ,
199- 'signRegion ' => $ region ,
198+ 'endpoint ' => ' https://states.us-isob-east-1 .sc2s.sgov.gov ' ,
199+ 'signRegion ' => ' us-isob-east-1 ' ,
200200 'signService ' => 'states ' ,
201201 'signVersions ' => ['v4 ' ],
202202 ];
@@ -242,48 +242,6 @@ protected function getEndpointMetadata(?string $region): array
242242 'signService ' => 'states ' ,
243243 'signVersions ' => ['v4 ' ],
244244 ];
245- case 'us-east-1 ' :
246- return [
247- 'endpoint ' => 'https://states.us-east-1.amazonaws.com ' ,
248- 'signRegion ' => 'us-east-1 ' ,
249- 'signService ' => 'states ' ,
250- 'signVersions ' => ['v4 ' ],
251- ];
252- case 'us-east-2 ' :
253- return [
254- 'endpoint ' => 'https://states.us-east-2.amazonaws.com ' ,
255- 'signRegion ' => 'us-east-2 ' ,
256- 'signService ' => 'states ' ,
257- 'signVersions ' => ['v4 ' ],
258- ];
259- case 'us-gov-east-1 ' :
260- return [
261- 'endpoint ' => 'https://states.us-gov-east-1.amazonaws.com ' ,
262- 'signRegion ' => 'us-gov-east-1 ' ,
263- 'signService ' => 'states ' ,
264- 'signVersions ' => ['v4 ' ],
265- ];
266- case 'us-gov-west-1 ' :
267- return [
268- 'endpoint ' => 'https://states.us-gov-west-1.amazonaws.com ' ,
269- 'signRegion ' => 'us-gov-west-1 ' ,
270- 'signService ' => 'states ' ,
271- 'signVersions ' => ['v4 ' ],
272- ];
273- case 'us-west-1 ' :
274- return [
275- 'endpoint ' => 'https://states.us-west-1.amazonaws.com ' ,
276- 'signRegion ' => 'us-west-1 ' ,
277- 'signService ' => 'states ' ,
278- 'signVersions ' => ['v4 ' ],
279- ];
280- case 'us-west-2 ' :
281- return [
282- 'endpoint ' => 'https://states.us-west-2.amazonaws.com ' ,
283- 'signRegion ' => 'us-west-2 ' ,
284- 'signService ' => 'states ' ,
285- 'signVersions ' => ['v4 ' ],
286- ];
287245 }
288246
289247 return [
0 commit comments