Skip to content

Commit 87929f1

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

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

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/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 = '';

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)