Skip to content

Commit d24d4db

Browse files
Update generated code (#1922)
* update generated code * Apply suggestion from @jderusse --------- Co-authored-by: Jérémy Derussé <[email protected]>
1 parent d867569 commit d24d4db

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
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.351.3"
3+
"${LATEST}": "3.351.5"
44
},
55
"endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json",
66
"services": {

src/Service/Lambda/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Added
66

77
- AWS api-change: Rework regions configuration
8+
- AWS api-change: remove trailling `/` in `ListFunctions` request
89

910
### Changed
1011

src/Service/Lambda/src/Input/ListFunctionsRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function request(): Request
126126
}
127127

128128
// Prepare URI
129-
$uriString = '/2015-03-31/functions/';
129+
$uriString = '/2015-03-31/functions';
130130

131131
// Prepare Body
132132
$body = '';

src/Service/Lambda/tests/Unit/Input/ListFunctionsRequestTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function testRequest(): void
1818

1919
// see https://docs.aws.amazon.com/lambda/latest/APIReference/API_ListFunctions.html
2020
$expected = '
21-
GET /2015-03-31/functions/?FunctionVersion=ALL&Marker=xxyy&MasterRegion=eu-central-1&MaxItems=1337 HTTP/1.1
21+
GET /2015-03-31/functions?FunctionVersion=ALL&Marker=xxyy&MasterRegion=eu-central-1&MaxItems=1337 HTTP/1.1
2222
Content-type: application/json
2323
Accept: application/json
2424
';

0 commit comments

Comments
 (0)