mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
This commit is contained in:
parent
45f5964fed
commit
12057de1c6
1 changed files with 6 additions and 2 deletions
|
@ -509,8 +509,12 @@ class CloudFrontServiceManager:
|
|||
else:
|
||||
result = response.get(result_key)
|
||||
results.update(result)
|
||||
args['NextToken'] = response.get('NextToken')
|
||||
loop = args['NextToken'] is not None
|
||||
args['Marker'] = response.get('NextMarker')
|
||||
for key in response.keys():
|
||||
if key.endswith('List'):
|
||||
args['Marker'] = response[key].get('NextMarker')
|
||||
break
|
||||
loop = args['Marker'] is not None
|
||||
return results
|
||||
|
||||
def keyed_list_helper(self, list_to_key):
|
||||
|
|
Loading…
Reference in a new issue