File tree Expand file tree Collapse file tree 3 files changed +7
-43
lines changed Expand file tree Collapse file tree 3 files changed +7
-43
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## NOT RELEASED
4
4
5
+ ### Added
6
+
7
+ - AWS api-change: Rework regions configuration
8
+
5
9
## 2.9.1
6
10
7
11
### Changed
Original file line number Diff line number Diff line change 30
30
},
31
31
"extra" : {
32
32
"branch-alias" : {
33
- "dev-master" : " 2.9 -dev"
33
+ "dev-master" : " 2.10 -dev"
34
34
}
35
35
}
36
36
}
Original file line number Diff line number Diff line change @@ -3200,46 +3200,6 @@ protected function getEndpointMetadata(?string $region): array
3200
3200
}
3201
3201
3202
3202
switch ($ region ) {
3203
- case 'af-south-1 ' :
3204
- case 'ap-east-1 ' :
3205
- case 'ap-northeast-1 ' :
3206
- case 'ap-northeast-2 ' :
3207
- case 'ap-northeast-3 ' :
3208
- case 'ap-south-1 ' :
3209
- case 'ap-south-2 ' :
3210
- case 'ap-southeast-1 ' :
3211
- case 'ap-southeast-2 ' :
3212
- case 'ap-southeast-3 ' :
3213
- case 'ap-southeast-4 ' :
3214
- case 'ap-southeast-5 ' :
3215
- case 'ap-southeast-7 ' :
3216
- case 'ca-central-1 ' :
3217
- case 'ca-west-1 ' :
3218
- case 'eu-central-1 ' :
3219
- case 'eu-central-2 ' :
3220
- case 'eu-north-1 ' :
3221
- case 'eu-south-1 ' :
3222
- case 'eu-south-2 ' :
3223
- case 'eu-west-1 ' :
3224
- case 'eu-west-2 ' :
3225
- case 'eu-west-3 ' :
3226
- case 'il-central-1 ' :
3227
- case 'me-central-1 ' :
3228
- case 'me-south-1 ' :
3229
- case 'mx-central-1 ' :
3230
- case 'sa-east-1 ' :
3231
- case 'us-east-1 ' :
3232
- case 'us-east-2 ' :
3233
- case 'us-gov-east-1 ' :
3234
- case 'us-gov-west-1 ' :
3235
- case 'us-west-1 ' :
3236
- case 'us-west-2 ' :
3237
- return [
3238
- 'endpoint ' => "https://s3. $ region.amazonaws.com " ,
3239
- 'signRegion ' => $ region ,
3240
- 'signService ' => 's3 ' ,
3241
- 'signVersions ' => ['s3v4 ' ],
3242
- ];
3243
3203
case 'cn-north-1 ' :
3244
3204
case 'cn-northwest-1 ' :
3245
3205
return [
@@ -3365,8 +3325,8 @@ protected function getEndpointMetadata(?string $region): array
3365
3325
}
3366
3326
3367
3327
return [
3368
- 'endpoint ' => ' https://s3.amazonaws.com ' ,
3369
- 'signRegion ' => ' us-east-1 ' ,
3328
+ 'endpoint ' => " https://s3. $ region . amazonaws.com" ,
3329
+ 'signRegion ' => $ region ,
3370
3330
'signService ' => 's3 ' ,
3371
3331
'signVersions ' => ['s3v4 ' ],
3372
3332
];
You can’t perform that action at this time.
0 commit comments