for function in response_iterator:
if "NextMarker" in function:
print(function['NextMarker'])
response_iterator = paginator.paginate(
PaginationConfig={
'StartingToken': function['NextMarker']
}
)
function_list=function['Functions']
i=0
for i in range(len(function_list)):
functionList.append(function_list[i]['FunctionName'])
The CheckFunctionConcurrency.py only shows first 50 result, you have to use paginate to get all the function names
replace line #62 with below
paginator = client.get_paginator('list_functions') response_iterator = paginator.paginate()
Replace the next for loop with below
for function in response_iterator: if "NextMarker" in function:
print(function['NextMarker'])