Skip to content

iter_describe_client_authentication_settings

iter_describe_client_authentication_settings(
    directory_id: DirectoryId,
    *,
    config_overrides: Optional[DirectoryServiceClientConfig] = None,
    type: Optional[ClientAuthenticationType] = None,
    next_token: Optional[NextToken] = None,
    limit: Optional[PageLimit] = None,
) -> Iterator[ClientAuthenticationSettingInfo]
Source code in docs_src/capo_directory_service/_services/directory_service.py
def iter_describe_client_authentication_settings(
    self,
    directory_id: "capo_directory_service.types.directory_id.DirectoryId",
    *,
    config_overrides: Optional[DirectoryServiceClientConfig] = None,
    type: Optional[
        "capo_directory_service.types.client_authentication_type.ClientAuthenticationType"
    ] = None,
    next_token: Optional[
        "capo_directory_service.types.next_token.NextToken"
    ] = None,
    limit: Optional["capo_directory_service.types.page_limit.PageLimit"] = None,
) -> "Iterator[capo_directory_service.types.client_authentication_setting_info.ClientAuthenticationSettingInfo]":
    _token = next_token
    while True:
        _response = self.describe_client_authentication_settings(
            directory_id,
            config_overrides=config_overrides,
            type=type,
            next_token=_token,
            limit=limit,
        )
        _page = _resolve_path(_response, ("client_authentication_settings_info",))
        for _item in _page or []:
            yield _item
        _token = _resolve_path(_response, ("next_token",))
        if not _token:
            break