def iter_list_file_system_associations(
self,
*,
config_overrides: Optional[StorageGatewayClientConfig] = None,
gateway_arn: Optional[
"capo_storage_gateway.types.gateway_arn.GatewayARN"
] = None,
limit: Optional[
"capo_storage_gateway.types.positive_int_object.PositiveIntObject"
] = None,
marker: Optional["capo_storage_gateway.types.marker.Marker"] = None,
) -> "Iterator[capo_storage_gateway.types.file_system_association_summary.FileSystemAssociationSummary]":
_token = marker
while True:
_response = self.list_file_system_associations(
config_overrides=config_overrides,
gateway_arn=gateway_arn,
limit=limit,
marker=_token,
)
_page = _resolve_path(_response, ("file_system_association_summary_list",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_marker",))
if not _token:
break