Skip to content

Commit 814d6b7

Browse files
Update generated code (#1389)
* update generated code * Update src/Service/IotData/CHANGELOG.md --------- Co-authored-by: Jérémy Derussé <jeremy@derusse.com>
1 parent 86fd345 commit 814d6b7

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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": {

src/Service/IotData/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
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

711
First version

src/Service/IotData/src/IotDataClient.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff 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
];

src/Service/Rekognition/src/ValueObject/Image.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
final 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

0 commit comments

Comments
 (0)