async def iter_list_contributor_insights(
self,
*,
config_overrides: Optional[AsyncDynamoDBClientConfig] = None,
table_name: Optional["capo_dynamodb.types.table_arn.TableArn"] = None,
next_token: Optional[
"capo_dynamodb.types.next_token_string.NextTokenString"
] = None,
max_results: Optional[
"capo_dynamodb.types.list_contributor_insights_limit.ListContributorInsightsLimit"
] = None,
) -> "AsyncIterator[capo_dynamodb.types.list_contributor_insights_output.ListContributorInsightsOutput]":
_token = next_token
while True:
_response = await self.list_contributor_insights(
config_overrides=config_overrides,
table_name=table_name,
next_token=_token,
max_results=max_results,
)
yield _response
_token = _resolve_path(_response, ("next_token",))
if not _token:
break