Skip to content

Commit b859e0e

Browse files
Update generated code (#1698)
* update generated code * Update src/Service/Kms/CHANGELOG.md --------- Co-authored-by: Jérémy Derussé <[email protected]>
1 parent 71522e8 commit b859e0e

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

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: change property used for pagination.
8+
59
### Changed
610

711
- AWS enhancement: Documentation updates.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
"extra": {
3030
"branch-alias": {
31-
"dev-master": "1.3-dev"
31+
"dev-master": "1.4-dev"
3232
}
3333
}
3434
}

src/Result/ListAliasesResponse.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ class ListAliasesResponse extends Result implements \IteratorAggregate
3131

3232
/**
3333
* A flag that indicates whether there are more items in the list. When this value is true, the list in this response is
34-
* truncated. To get more items, pass the value of the `NextMarker` element in thisresponse to the `Marker` parameter in
35-
* a subsequent request.
34+
* truncated. To get more items, pass the value of the `NextMarker` element in this response to the `Marker` parameter
35+
* in a subsequent request.
3636
*
3737
* @var bool|null
3838
*/
@@ -63,7 +63,7 @@ public function getAliases(bool $currentPageOnly = false): iterable
6363
$page = $this;
6464
while (true) {
6565
$page->initialize();
66-
if ($page->nextMarker) {
66+
if ($page->truncated) {
6767
$input->setMarker($page->nextMarker);
6868

6969
$this->registerPrefetch($nextPage = $client->listAliases($input));

0 commit comments

Comments
 (0)