async def iter_list_resource_configurations(
self,
*,
config_overrides: Optional[AsyncVPCLatticeClientConfig] = None,
resource_gateway_identifier: Optional[
"capo_vpc_lattice.types.resource_gateway_identifier.ResourceGatewayIdentifier"
] = None,
resource_configuration_group_identifier: Optional[
"capo_vpc_lattice.types.resource_configuration_identifier.ResourceConfigurationIdentifier"
] = None,
domain_verification_identifier: Optional[
"capo_vpc_lattice.types.domain_verification_identifier.DomainVerificationIdentifier"
] = None,
max_results: Optional["capo_vpc_lattice.types.max_results.MaxResults"] = None,
next_token: Optional["capo_vpc_lattice.types.next_token.NextToken"] = None,
) -> "AsyncIterator[capo_vpc_lattice.types.resource_configuration_summary.ResourceConfigurationSummary]":
_token = next_token
while True:
_response = await self.list_resource_configurations(
config_overrides=config_overrides,
resource_gateway_identifier=resource_gateway_identifier,
resource_configuration_group_identifier=resource_configuration_group_identifier,
domain_verification_identifier=domain_verification_identifier,
max_results=max_results,
next_token=_token,
)
_page = _resolve_path(_response, ("items",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break