File tree Expand file tree Collapse file tree 4 files changed +14
-4
lines changed
Rekognition/src/ValueObject Expand file tree Collapse file tree 4 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "variables" : {
3- "${LATEST}" : " 3.263.1 "
3+ "${LATEST}" : " 3.263.10 "
44 },
55 "endpoints" : " https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json" ,
66 "services" : {
Original file line number Diff line number Diff line change 22
33## NOT RELEASED
44
5+ ### Added
6+
7+ - AWS api-change: changed ` cn-north-1 ` région endpoint
8+
59## 0.1.0
610
711First version
Original file line number Diff line number Diff line change @@ -118,10 +118,16 @@ protected function getEndpointMetadata(?string $region): array
118118
119119 switch ($ region ) {
120120 case 'cn-north-1 ' :
121+ return [
122+ 'endpoint ' => 'https://data.ats.iot.cn-north-1.amazonaws.com.cn ' ,
123+ 'signRegion ' => 'cn-north-1 ' ,
124+ 'signService ' => 'iotdata ' ,
125+ 'signVersions ' => ['v4 ' ],
126+ ];
121127 case 'cn-northwest-1 ' :
122128 return [
123- 'endpoint ' => " https://data-ats.iot. $ region .amazonaws.com.cn " ,
124- 'signRegion ' => $ region ,
129+ 'endpoint ' => ' https://data-ats.iot.cn-northwest-1 .amazonaws.com.cn ' ,
130+ 'signRegion ' => ' cn-northwest-1 ' ,
125131 'signService ' => 'iotdata ' ,
126132 'signVersions ' => ['v4 ' ],
127133 ];
Original file line number Diff line number Diff line change 1111final class Image
1212{
1313 /**
14- * Blob of image bytes up to 5 MBs.
14+ * Blob of image bytes up to 5 MBs. Note that the maximum image size you can pass to `DetectCustomLabels` is 4MB.
1515 */
1616 private $ bytes ;
1717
You can’t perform that action at this time.
0 commit comments